V_getCoordSystem (OptiVec vector function)">V_getCoordSystem">
|Function||Restore the scalings and position of a coordinate system previously saved by V_getCoordSystem|
|Syntax C/C++||#include <Vgraph.h>
void V_setCoordSystem( VCOORDSYSTEM *csys );
procedure V_setCoordSystem( csys: VCOORDSYSTEM );
|Description||If one wants to "hop" between several coordinate systems, displayed in one and the same window, one has to store the specifications (position and scalings) of each coordinate system separately, using V_getCoordSystem, and to retrieve them as needed, using this function.
The address of a struct VCOORDSYSTEM is passed as the argument. VCOORDSYSTEM is defined in <Vgraph.h> (C/C++) or the unit Vgraph (Pascal/Delphi).
For an example, see V_getCoordSystem.
VectorLib Table of Contents OptiVec home