DBsetDatabaseOffset |
Top Previous Next |
Puts the zero of the data bank. The co-ordinates delivered by the data bank are relative co-ordinates to any origin. This origin is put with DBsetDatabaseOffset. Absolute co-ordinates are generated by addition of offset and co-ordinates. If the offset is changed, while data are in the data bank, these are converted, so that the single co-ordinates keep steady absolute values. It is to be seen with putting of the offset to the fact that no Überläufe take place. This can happen with the momentary implementing if the origin is put on a value far beyond the loaded plans if the plans own a fine resolution. Parametre root (PROOT) [IN] The trading of the data bank whose offset should be changed. x_off (STANDS IN) [IN] X co-ordinate (legal value) of the new offset. y_off (STANDS IN) [IN] Y co-ordinate (north value) of the new offset. z_off (STANDS IN) [IN] Z co-ordinate (height) of the new offset. Result --- Declaration #include "database.h"
void DLLENTRY DBsetDatabaseOffset ( PROOT root, STAND-IN x_off, STAND-IN y_off, STAND-IN z_off );
|