IPoint

A Point is a zero-dimensional object that represents a specific (X, Y) location in the two-dimensional XY-Plane. A Point may also have a Z attribute associated with it. 

 

 

Properties

 

Dimension

Gets the dimension of the geometry object. (Inherited from IGeometry)

Envelope

Gets the geometry’s bounding box. (Inherited from IGeometry)

GeometryType

Gets the geometry type ID. (Inherited from IGeometry)

GeometryTypeStr

Gets a string representation of the geometry type. (Inherited from IGeometry)

SpatialOperator

An ISpatialOperator representing the selected geometry’s interaction with another geometry object. (Inherited from IGeometry)

SpatialRelation

An ISpatialRelation that tests the geometry’s spatial relationship with other geometries. (Inherited from IGeometry)

Wks

An IWks representing methods for transferring coordinate system information (WKT and WKB). (Inherited from IGeometry)

X

Gets and sets the x-coordinate of the point.

Y

Gets and sets the y-coordinate of the point.

Z

Gets and sets the z-attribute.

 

Methods

 

Clone

Creates an exact copy of the selected geometry. (Inherited from IGeometry)

EndEdit

Terminates the edit item mode. (Inherited from IGeometry)

IsEmpty

Returns whether or not the set of points in the selected geometry is empty. (Inherited from IGeometry)

IsSimple

Returns whether or not the geometry is simple. (Inherited from IGeometry)

SetEmpty

Removes all points from this geometry. (Inherited from IGeometry)

StartEdit

Starts the edit item mode. (Inherited from IGeometry)

X

Gets and sets the x-coordinate of the point.

 

JavaScript

 

X

 

C#

 

double X { get; set; }

 

C++

 

HRESULT X([out, retval] double* X)

HRESULT X([in] double X)

Y

Gets and sets the y-coordinate of the point.

 

JavaScript

 

Y

 

C#

 

double Y { get; set; }

 

C++

 

HRESULT Y([out, retval] double* X)

HRESULT Y([in] double X)

Z

Gets and sets the altitude. 

 

JavaScript

 

Z

 

C#

 

double Z{ get; set; }

 

C++

 

HRESULT Z([out, retval] double* X)

HRESULT Z([in] double X)