OEGeom2DRotate

OEGeom2DRotate(xyz: OEFloatArray, m: OEFloatArray, ncoord: int) -> None
OEGeom2DRotate(xyz: OEDoubleArray, m: OEDoubleArray, ncoord: int) -> None

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