Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgGeometryType Class Reference
[MgGeometryType]

MgGeometryType defines integer constants used to signify the derived type of an MgGeometry instance. More...

List of all members.

## Static Public Attributes
static const INT32 | CurvePolygon = 11
| Specifies that the geometry is a CurvePolygon.
static const INT32 | CurveString = 10
| Specifies that the geometry is a CurveString.
static const INT32 | LineString = 2
| Specifies that the geometry is a LineString.
static const INT32 | MultiCurvePolygon = 13
| Specifies the geometry is a MultiPolygon.
static const INT32 | MultiCurveString = 12
| Specifies that the geometry is a MultiLineString.
static const INT32 | MultiGeometry = 7
| Specifies that the geometry is a MultiGeometry. In OpenGIS this is referred to as a GeometryCollection.
static const INT32 | MultiLineString = 5
| Specifies that the geometry is a MultiLineString.
static const INT32 | MultiPoint = 4
| Specifies that the geometry is a MultiPoint.
static const INT32 | MultiPolygon = 6
| Specifies that the geometry is a MultiPolygon.
static const INT32 | Point = 1
| Specifies that the geometry is a Point.
static const INT32 | Polygon = 3
| Specifies that the geometry is a Polygon.

## Detailed Description

MgGeometryType defines integer constants used to signify the derived type of an MgGeometry instance.

Comments or suggestions? Send us feedback.