Web API Reference MapGuide Open Source

MgLinearRing Class Reference
[MgLinearRing]

An MgLinearRing is a geometry component. More...

Inherits MgRing.

List of all members.


Public Member Functions

virtual MgGeometricEntityCopy ()
virtual INT32 GetComponentType ()
virtual MgCoordinateIteratorGetCoordinates ()
 
virtual INT32 GetDimension ()
virtual bool IsClosed ()
virtual bool IsEmpty ()
 
virtual MgGeometricEntityTransform (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.