AutoCAD Map 3D 2009 Geospatial Platform Reference

From AutoCAD Map 3D Geospatial Platform API

MgLinearRing Class Reference
[MgLinearRing]

Inherits MgRing.

List of all members.


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.

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.