Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgGeometryComponent Class Reference
[MgGeometryComponent]

MgGeometryComponent is the base class for all of the geometry component types, namely, MgArcSegment, MgCurveRing, MgLinearRing, and MgLinearSegment. More...

Inherits MgGeometricEntity.

Inherited by MgCurveSegment, and MgRing.

List of all members.

## Public Member Functions
virtual INT32 | GetComponentType ()=0
| Gets the type of this geometry component.

## Detailed Description

MgGeometryComponent is the base class for all of the geometry component types, namely, MgArcSegment, MgCurveRing, MgLinearRing, and MgLinearSegment.

Remarks:
  Geometry components are used to build MgGeometry objects. Geometry components are constructed by calls to non-static methods on an MgGeometryFactory object and are immutable once constructed.

Comments or suggestions? Send us feedback.