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