equals

fun equals(geometry1: Geometry, geometry2: Geometry): Boolean

Tests if two geometries are equal. The geometries are equal if they have the same spatial reference systems, geometry type, points and occupy the same space. For a more strict comparison of the two geometries use Geometry.equals.

Supports true curves.

Return

True if the two geometries are equal, false otherwise.

Since

200.1.0

Parameters

geometry1

A geometry object.

geometry2

Another geometry object.

Throws

Indicates that geometry1 and geometry2 do not have equivalent spatial references.