Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgLinearRing Class Reference
[MgLinearRing]

An MgLinearRing is a geometry component. More...

Inherits MgRing.

List of all members.

## Public Member Functions
virtual MgGeometricEntity * | Copy ()
virtual INT32 | GetComponentType ()
virtual MgCoordinateIterator * | GetCoordinates ()
virtual INT32 | GetDimension ()
virtual bool | IsClosed ()
virtual bool | IsEmpty ()
virtual MgGeometricEntity * | Transform (MgTransform *transform)
| Returns a transformed copy of this geometric entity.

## Detailed Description

An MgLinearRing is a geometry component.

Remarks:
  It is used in the construction of MgPolygon geometries. It is a closed shape where the curves connecting the coordinates are interpolated linearly. An instance of this class is constructed by calling a non-static MgGeometryFaactory::CreateLinearRing() method and, once constructed, is immutable. See the MgPolygon Class for example code showing the construction of an MgLinearRing instance.

Comments or suggestions? Send us feedback.