AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgCoordinate* MgCoordinateSystemTransform::TransformM ( double  x,
double  y,
double  m 
) [pure virtual]

Transforms the given X, Y, and M values whose frame of reference is the source coordinate system into a coordinate whose frame of reference is the target coordinate system.

Parameters:
x (double) The X ordinate to transform.
y (double) The Y ordinate to transform.
m (double) The measure to transform.
Returns:
Returns an MgCoordinate object which is the equivalent in the target coordinate system of the given X, Y, and M values.
Example (PHP) See the example code in MgCoordinateSystemTransform::Transform Method (MgCoordinate*) and make the appropriate substitutions.

Exceptions:
MgCoordinateSystemTransformFailedException