ESRI.ArcGIS.Mobile
Point Class
Members  Example  See Also  Send Feedback
ESRI.ArcGIS.Mobile.Geometries Namespace : Point Class

Two-dimensional location

Object Model





Syntax

Visual Basic (Declaration) 
Public NotInheritable Class Point 
   Inherits Geometry
   Implements IBorgGeometry, IBoundableIGeometryIGeometryConstruction 
C# 
public sealed class Point : Geometry, IBorgGeometry, IBoundableIGeometryIGeometryConstruction  

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

System.Object
   ESRI.ArcGIS.Mobile.Geometries.Geometry
      ESRI.ArcGIS.Mobile.Geometries.Point

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.