返回scene在meshgeom內部的部分。
文法
scene ST_Intersection(scene sc, meshgeom geom);參數
| 參數名稱 | 描述 |
| sc | scene對象。 |
| geom | meshgeom對象。 |
描述
使用閉合的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,......}]}}