返回scene在meshgeom內(nèi)部的部分。

語法

scene ST_Intersection(scene sc, meshgeom geom);

參數(shù)

參數(shù)名稱描述
scscene對(duì)象。
geommeshgeom對(duì)象。

描述

使用閉合的meshgeom切割scene時(shí),會(huì)有scene保留在meshgeom內(nèi)部。

  • 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,......}]}}