SYStransformCoordinate

Top  Previous  Next

Point amount transform.

With this routine several co-ordinates can be transformed. With transformType the transformation is determined, in addition constants exist.

Parametre

px (stands in *) [IN / OUT]

py (stands in *) [IN / OUT]

In px and py become the first transformed co-ordinates zurückgeliefert.

transformType (int) [IN]

In transformType the transformation is determined.

pointCnt (int) [IN]

pointCnt gives the number of the co-ordinates in xSource, ySource, xDest and yDest.

xSource (stands in *) [IN]

ySource (stands in *) [IN]

With xSource and ySource the source co-ordinates are given. The number of the co-ordinates stands in pointCnt.

xDest (stands in *) [IN]

yDest (stands in *) [IN]

With xDest and yDest the aim co-ordinates are given. The number of the co-ordinates stands in pointCnt.

Result

---

Declaration

#include "basic.h"

 

void DLLENTRY SYStransformCoordinate (

stand in * px,

stand in * py,

int transformType,

int pointCnt,

stand in * xSource,

stand in * ySource,

stand in * xDest,

stand in * yDest

);

Constants

TRANSFORM_TYPE_NO

TRANSFORM_TYPE_HELMERT

TRANSFORM_TYPE_AFFIN

TRANSFORM_TYPE_HELMERT_RESTKLAFFUNG

TRANSFORM_TYPE_AFFIN_RESTKLAFFUNG

TRANSFORM_TYPE_POLAR