This document is archived and information here might be outdated.  Recommended version.


IRelationalOperator2.IsNear Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IR > IRelationalOperator2 Interface > IRelationalOperator2.IsNear Method
ArcGIS Developer Help

IRelationalOperator2.IsNear Method

Indicates if this geometry is within distance from the other geometry.

[Visual Basic .NET]
Public Function IsNear ( _
    ByVal pOther As IGeometry, _
    ByVal distance As Double _
) As Boolean
[C#]
public bool IsNear (
    IGeometry pOther,
    double distance
);
[C++]
HRESULT IsNear(
  IGeometry* pOther,
  double distance
);
[C++]
Parameters
pOther 

pOther is a parameter of type IGeometry* distance
distance is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRelationalOperator2 Interface