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


IRelationalOperator2.IsNear Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

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,
  VARIANT_BOOL* pbNear
);
[C++]

Parameters pOther
pOther is a parameter of type IGeometry distance distance is a parameter of type double pbNear [out, retval] pbNear is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IRelationalOperator2 Interface