Home > All Other Interfaces > IGeometryCreator > CreatePointGeometry

CreatePointGeometry

Creates a point.

 

JavaScript

 

CreatePointGeometry(

      point)

 

C#

 

IPoint CreatePointGeometry(

      object point)

 

C++

 

HRESULT CreatePointGeometry(

      VARIANT point,

      IPoint** pVal)

 

Parameters

point

Any of the following geometries can be passed as the point parameter:

·         The Point WKB

·         ThePoint WKT

·         A Safe Array of Vertices– An array that contains one triplet of doubles. The triplet is composed of an x-coordinate, a y-coordinate, and a height. The height is represented in meters and the  x- and y-coordinates are represented in the coordinate system’s units. You can use the ITerrain6 interface to retrieve information about the coordinate system.

Return Value

pVal

An IPoint representing the newly created point.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.