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

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

+ Inheritance diagram for MgLinearSegment:

List of all members.

Public Member Functions

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

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.