ESRI.ArcGIS.Mobile
Distance Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace > Geometry Class : Distance Method

other
Geometry used to calculate distance.
Returns the closest distance between two Geometry objects.

Syntax

Visual Basic (Declaration) 
Public Function Distance( _
   ByVal other As IGeometry _
) As Double
C# 
public double Distance( 
   IGeometry other
)

Parameters

other
Geometry used to calculate distance.

Return Value

returns zero, if they intersect.

returns a negative value, if one of the geometry is contained inside the other one.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.