Intersects — Returns true if any pair of primitives from the two topogeometries intersect.
boolean Intersects(topogeometry tg1, topogeometry tg2);
Returns true if any pair of primitives from the two topogeometries intersect.
|
|
|
This function not supported for topogeometries that are geometry collections. It also can not compare topogeometries from different topologies. Also not currently supported for hierarchical topogeometries (topogeometries composed of other topogeometries). |
Disponibilità: 1.1.0
Questa funzione supporta il 3d e non distrugge gli z-index.
The following example uses the nei_topo table created in the toTopoGeom examples.
SELECT topology.Intersects(a.topo, b.topo) FROM nei_topo AS a JOIN nei_topo AS b ON b.gid = a.gid WHERE a.gid = 1;
t