equals method
Tests whether this geometry is topologically equal to the argument geometry.
This method is included for backward compatibility reasons. It has been superseded by the {@link #equalsTopo(Geometry)} method, which has been named to clearly denote its functionality.
This method should NOT be confused with the method {@link #equals(Object)}, which implements an exact equality comparison.
@param g the Geometry
with which to compare this Geometry
@return true if the two Geometry
s are topologically equal
@see #equalsTopo(Geometry)
Implementation
bool equals(Geometry? g) {
if (g == null) return false;
return equalsTopo(g);
}