ReprojectEx

This method converts a given 3D-coordinate from one coordinate system to another.

 

JavaScript

 

ReprojectEx(

       From,

       To,

       X,

       Y,

       Z)

 

C#

 

ICoord3D ReprojectEx(

       ICoordinateSystem80        From,

       ICoordinateSystem80        To,

       double        X,

       double        Y,

       double        Z)

 

C++

 

HRESULT ReprojectEx(

       ICoordinateSystem80 *      From,

       ICoordinateSystem80 *      To,

       double        X,

       double        Y,

       double        Z,

       ICoord3D **  pVal )

 

Parameters

From

The coordinate system in which the coordinate is given.

To

The coordinate system to which you want to convert the coordinate.

X

X- coordinate in coordinate system units.

Y

Y- coordinate in coordinate system units.

Z

Z- coordinate in coordinate system units.

 

Return Value

pVal

An ICoord3D representing the converted coordinates.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.