Returns true if a scene object and a meshgeom object share any point in space.
Syntax
bool ST_Intersects(scene sc, meshgeom geom);Parameters
| Parameter | Type | Description |
|---|---|---|
sc | scene | The scene object to test. |
geom | meshgeom | The meshgeom object to test against. |
Description
ST_Intersects checks whether the scene object and the meshgeom object intersect.
Examples
SELECT ST_Intersects(
ST_3DSphere(1, 1),
'Mesh(IndexSurface(Vertex(0 0 0, 1 0 0, 1 1 0), Index((0,1,2))))'::meshgeom
);Result:
st_intersects
---------------
t该文章对您有帮助吗?