OEGeom2DRotate¶
template<class T, class U>
void OEGeom2DRotate(T *xyz, const U *m, unsigned int ncoord)
Rotates the two dimensional coordinates by the \(2 \times 2\)
rotation matrix passed as the argument m
. For ncoord
sets
of coordinates the input array xyz
is expected to have a length
of \(2*ncoord\).
- xyz
Array of coordinates to rotate
- m
Rotation matrix
- ncoord
Number of coordinate sets