AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgCoordinate Class Reference
[MgCoordinate]

Inherits MgSerializable.

Inherited by MgCoordinateXY, MgCoordinateXYM, MgCoordinateXYZ, and MgCoordinateXYZM.

List of all members.


Detailed Description

MgCoordinate is an abstract base class used to represent the Cartesian coordinates of a geometry.

Remarks:
Concrete classes derived from this abstract class are MgCoordinateXY, MgCoordinateXYM, MgCoordinateXYZ, and MgCoordinateXYZM.
Coordinates by default have X and Y ordinates and can optionally have additional ordinates to specify elevation (Z), and measure (M). MgCoordinate objects are directly used to construct MgPoint geometries and MgArcSegment geometry components and indirectly to construct all other geometries.
Note:
This is a base class, not designed to be used directly. Use the derived classes.

Public Member Functions

virtual INT32 GetDimension ()=0
 Gets the dimensions supported by this coordinate as a bit mask. See MgCoordinateDimension for a specification of the values which can be found in the bit mask.
virtual double GetM ()=0
 
virtual double GetX ()=0
 
virtual double GetY ()=0
 
virtual double GetZ ()=0