ST_3DIntersects — 如果两个几何图形在三维空间上相交,则返回TRUE-仅对于点、线串、多边形、多面体曲面(面积)。
boolean ST_3DIntersects(
geometry geomA , geometry geomB )
;
重叠、接触、内部都暗示着空间的交集。如果上述任一项返回TRUE,则这些几何图形在空间上也相交。对于空间相交,不相交意味着FALSE。
![]() | |
This function automatically includes a bounding box comparison that makes use of any spatial indexes that are available on the geometries. |
更改:3.0.0 SFCGAL后端已删除,GEOS后端支持TIN。
可用性:2.0.0
This function supports 3d and will not drop the z-index.
This function supports Polyhedral surfaces.
This function supports Triangles and Triangulated Irregular Network Surfaces (TIN).
This method is also provided by SFCGAL backend.
This method implements the SQL/MM specification. SQL-MM 3:?
SELECT ST_3DIntersects(pt, line), ST_Intersects(pt, line) FROM (SELECT 'POINT(0 0 2)'::geometry As pt, 'LINESTRING (0 0 1, 0 2 3)'::geometry As line) As foo; st_3dintersects | st_intersects -----------------+--------------- f | t (1 row)