GeometryType

Gets an enum that determines the geometry type. The following are the possible values:  

§   SG_POINT = 0
IPoint

§   SG_LINESTRING = 1
ILineString

§   SG_LINEARRING = 2
ILinearRing

§   SG_POLYGON = 3
IPolygon

§   SG_MULTILINESTRING = 5
IGeometryCollection (of ILineString geometries)

§   SG_MULTIPOLYGON = 6
IGeometryCollection (of Polygon geometries)

 

JavaScript

 

GeometryType

 

C#

 

SGGeometryTypeId GeometryType { get; }

 

C++

 

HRESULT GeometryType(

       [out, retval] SGGeometryTypeId* geometryTypeId)

Return Value

geometryTypeId

An enum that returns one of the following values:

·          SG_POINT                           = 0

·          SG_LINESTRING                               = 1

·          SG_LINEARRING              = 2

·          SG_POLYGON                   = 3

·          SG_MULTIPOINT             = 4

·          SG_MULTILINESTRING  = 5

·          SG_MULTIPOLYGON      = 6