ESRI.ArcGIS.Mobile
IsWithin Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace > GeometricRelationship Class : IsWithin Method

Returns true if this GeometricRelationship is T*F**F***. Returns true if the first Geometry is within the second.

Syntax

Visual Basic (Declaration) 
Public Function IsWithin() As Boolean
C# 
public bool IsWithin()

Remarks

The base geometry is within the comparison geometry if the base geometry is the intersection of the geometries and the intersection of their interiors is not empty. Within is a Clementini operator. Within is the opposite operator of contains.
If geometry1 is Within geometry2, then geometry2 Contains geometry1. Within example. Only "true" relationships are showed in this picture.

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