MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
MgLinearRing Class Reference

An MgLinearRing is a geometry component. More...

+ Inheritance diagram for MgLinearRing:

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.