Click or drag to resize
EnvelopeIsEqual Method
Compares two Envelope for equality. This will check for a matching SpatialReference and coordinates for a match.

Namespace: Esri.ArcGISRuntime.Geometry
Assembly: Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 10.2.7.0 (10.2.7.1234)
Syntax
public override bool IsEqual(
	Geometry other
)

Parameters

other
Type: Esri.ArcGISRuntime.GeometryGeometry
A geometry to test for equality.

Return Value

Type: Boolean
Value to indicate if the two geometries are equal.
Remarks

The various geometry IsEqual Methods (i.e. Envelope, Geometry, MapPoint, LineSegment, Multipoint, Polygon, Polyline, Segment) provide the most strict comparison of two geometries to ensure they are equal (aka. identical). You can also use the GeometryEngine.Equals Method but the test for ensuring that two geometries are equal (aka. identical) is not quite as strict. The following table provides a comparison of the geometry comparison options:

geometryA.IsEqual(geometryB)GeometryEngine.Equals(geometryA,geometryB)
TypeType
ShapeShape
OrientationOrientation
Order of Coordinates--

In a nutshell, if you need to ensure that the 'Order of Coordinates' that comprise your geometries are exactly the same, use the various geometry IsEqual Methods.

See Also
Supported Platforms
This type is supported on the following ArcGIS Runtime .NET SDK platforms:
Windows Desktop
Windows Phone
Windows Store