ESRI.ArcGIS.Mobile
GetSquareDistance Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace > Envelope Class : GetSquareDistance Method

other
Minimum distance between the envelopes.

Syntax

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

Parameters

other

Return Value

Returns -1 if the input envelope is empty,

Returns 0 if the envelopes intersect.

Exceptions

ExceptionDescription
ArgumentNullExceptionNull input envelope to measure distance.

Requirements

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