MgLinearSegment Class Reference
[MgLinearSegment]
Inherits MgCurveSegment.
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 MgCoordinate * | GetEndCoordinate () |
virtual MgCoordinate * | GetStartCoordinate () |
virtual bool | IsClosed () |
virtual bool | IsEmpty () |
virtual MgGeometricEntity * | Transform (MgTransform *transform) |
Returns a transformed copy of this geometric entity. |