Name

Equals — 두 TopoGeometry가 동일한 지형 원시형으로 이루어졌을 경우 참을 반환합니다.

Synopsis

boolean Equals(topogeometry tg1, topogeometry tg2);

설명

두 TopoGeometry가 동일한 지형 원시형(표면, 경계선, 노드)으로 이루어졌을 경우 참을 반환합니다.

[Note]

이 함수는 도형 집합인 TopoGeometry를 지원하지 않습니다. 또 서로 다른 지형으로 이루어진 두 TopoGeometry를 비교하지 못 합니다.

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