Skip to content
This documentation is sourced from a third-party project and is not maintained by pgEdge.

Topology Spatial Relationships

Equals

Returns true if two topogeometries are composed of the same topology primitives.

Synopsis

boolean Equals(topogeometry  tg1, topogeometry  tg2)

Description

Returns true if two topogeometries are composed of the same topology primitives: faces, edges, nodes.

Note

This function not supported for topogeometries that are geometry collections. It also can not compare topogeometries from different topologies.

Availability: 1.1.0

Examples


See Also

GetTopoGeomElements, ST_Equals

Intersects

Returns true if any pair of primitives from the two topogeometries intersect.

Synopsis

boolean Intersects(topogeometry  tg1, topogeometry  tg2)

Description

Returns true if any pair of primitives from the two topogeometries intersect.

Note

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).

Availability: 1.1.0

Examples


See Also

ST_Intersects