返回scene在meshgeom內部的部分。

語法

scene ST_Intersection(scene sc, meshgeom geom);

參數

參數名稱描述
scscene對象。
geommeshgeom對象。

描述

使用閉合的meshgeom切割scene時,會有scene保留在meshgeom內部。

  • meshgeom不閉合返回NULL。
  • meshgeom為空返回NULL。

示例

SELECT ST_AsText(ST_Intersection(ST_3DSphere(0.5,1), ST_3DMakeCuboid(1,1,1)));
--------
{"type" : "gltf", "content" : {"accessors":[{"bufferView":0,......}]}}