Two-dimensional location
Object Model
Syntax
Example
C# | Copy Code |
---|
// creates 2 new point objects ESRI.ArcGIS.Mobile.Geometries.Point pointA = new ESRI.ArcGIS.Mobile.Geometries.Point(100.2, 23.4); ESRI.ArcGIS.Mobile.Geometries.Point pointB = new ESRI.ArcGIS.Mobile.Geometries.Point(new Coordinate(100.2, 23.4)); // checks if are they equal bool result = pointA.EquivalentTo(pointB); Debug.WriteLine(result.ToString()); // true // creates a new point object ESRI.ArcGIS.Mobile.Geometries.Point pointC = new ESRI.ArcGIS.Mobile.Geometries.Point(); pointC.Coordinate = new Coordinate(120.2, 23.6); // clears the geometry pointC.Clear(); Debug.WriteLine(pointC.Validate().ToString()); // false |
Inheritance Hierarchy
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