ade_projsetsrc

Land Desktop Development ARX CPP SDK

Up a level
ade_projsetsrc
 
 

Sets the source coordinate system for converting points.

int

ade_projsetsrc(

char* cscode);

Returns RTNORM or an error code.

cscode Coordinate system code, eight characters.

Before you can use either ade_projptforward or ade_projptbackward to convert points, you must first identify the coordinate systems that you are converting between. Use ade_projsetsrc to set the source system and ade_projsetdest to set the destination system. The ade_projptforward function assumes that the coordinate values you pass to it belong to the source system, and it returns corresponding destination values. The ade_projptbackward function does the inverse.

For more information, see Converting Coordinates.