Equals — Returns true if two topogeometries are composed of the same topology primitives.
boolean Equals(topogeometry tg1, topogeometry tg2);
Returns true if two topogeometries are composed of the same topology primitives: faces, edges, nodes.
|
|
|
This function not supported for topogeometries that are geometry collections. It also can not compare topogeometries from different topologies. |
Availability: 1.1.0
This function supports 3d and will not drop the z-index.
The following example uses the nei_topo table created in the toTopoGeom examples.
SELECT topology.Equals(a.topo, b.topo) FROM nei_topo AS a JOIN nei_topo AS b ON b.gid = a.gid WHERE a.gid = 1;
t