Equals

Returns TRUE if the selected geometry equals another specified geometry, such that every point of one geometry is a point in the other (matching x, y coordinates).

 

JavaScript

 

Equals(

       otherGeometry)

 

C#

 

Bool Equals(

       IGeometry otherGeometry)

 

C++

 

HRESULT Equals(

       IGeometry* otherGeometry,

       VARIANT_BOOL* pVal)

Parameters

otherGeometry

An IGeometry representing the geometry with which to compare the selected geometry.

Return Value

pVal

Returns TRUE if the two geometries are equal.

Exceptions

See:  HRESULT Return Values for a list of possible values returned by the HRESULT.