AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgLinearSegment Class Reference
[MgLinearSegment]

Inherits MgCurveSegment.

List of all members.


Detailed Description

MgLinearSegment is a geometry component used in the construction of MgCurveString geometries and MgCurveRing geometry components.

Remarks:
It is a curve segment where the curves connecting the coordinates are interpolated linearly. It is constructed by calling a non-static method MgGeometryFactory::CreateLinearSegment() and, once constructed, is immutable. See MgCurveString Class for example code showing the construction of an MgLinearSegment instance.

Public Member Functions

virtual
MgGeometricEntity
Copy ()
virtual INT32 GetComponentType ()
virtual
MgCoordinateIterator
GetCoordinates ()
 
virtual INT32 GetDimension ()
 
virtual MgCoordinateGetEndCoordinate ()
 
virtual MgCoordinateGetStartCoordinate ()
virtual bool IsClosed ()
virtual bool IsEmpty ()
 
virtual
MgGeometricEntity
Transform (MgTransform *transform)
 Returns a transformed copy of this geometric entity.