Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgCoordinate Class Reference
[MgCoordinate]

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

Inherits MgSerializable.

Inherited by MgCoordinateXY, MgCoordinateXYM, MgCoordinateXYZ, and MgCoordinateXYZM.

List of all members.

## 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

## 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.

Comments or suggestions? Send us feedback.