DBmoveElement

Top  Previous  Next

An element shift geographically.

The element is changed in the size and receives a new position. Last first the dimensions change, then the rotation takes place, the movement. It is adapted only the positions. Text dimensions and radii are preserved.

Parametre

element (PELEMENT) [IN]

The trading of the element to be changed.

scaleX (STANDS IN) [IN]

scaleY (STANDS IN) [IN]

scaleZ (STANDS IN) [IN]

The co-ordinates are multiplied by these factors. This happens before applying the rotation and before the translation with the offset.

offsetX (STANDS IN) [IN]

offsetY (STANDS IN) [IN]

offsetZ (STANDS IN) [IN]

After the rotation all co-ordinates with offset are shifted. The values are given in metre.

rotation (STANDS IN) [IN]

As the second reshaping a rotation is carried out around the zero with the corner rotation, so after the dimensions change and before the translation. The information is in, so 2*PI are a full circle.

Result

---

Declaration

#include "database.h"

 

void DLLENTRY DBmoveElement (

PELEMENT element,

STAND-IN scaleX,

STAND-IN scaleY,

STAND-IN scaleZ,

STAND-IN offsetX,

STAND-IN offsetY,

STAND-IN offsetZ,

STAND-IN rotation

);

Remark

1. If a text element owns a state line, this is not coshifted automatically.