This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISpatialReference2 Interface > ISpatialReference2.IsMPrecisionEqual Method (ArcObjects .NET 10.4 SDK) |
Returns true if the measure precisions of the two spatial references are the same.
[Visual Basic .NET] Public Function IsMPrecisionEqual ( _ ByVal otherSR As ISpatialReference _ ) As Boolean
[C#] public bool IsMPrecisionEqual ( ISpatialReference otherSR );
[C++]
HRESULT IsMPrecisionEqual(
ISpatialReference* otherSR,
VARIANT_BOOL* IsMPrecisionEqual
);
[C++]
Parameters otherSR [in]
otherSR is a parameter of type ISpatialReference IsMPrecisionEqual [out, retval] IsMPrecisionEqual is a parameter of type VARIANT_BOOL
Compares the measure precisions (resolutions) . Both spatial references must be of the same type (both PCS, both GCS, etc).
The IClone::IsEqual method for PCSs and GCSs compares only the projection information (projection, spheroid, projected units, etc.). It does not compare any properties related to the coordinate grid definition for the spatial references.
Use the ISpatialReference2.IsXY/Z/MPrecisionEqual methods to compare coordinate grid information.
Use the ISpatialReferenceTolerance.IsXY/Z/MToleranceEqual methods to compare the various cluster tolerances for the spatial references.