OEGeom2DTranslate
OEGeom2DTranslate(xyz: OEFloatArray, t: OEFloatArray, ncoord: int) -> None
OEGeom2DTranslate(xyz: OEDoubleArray, t: OEDoubleArray, ncoord: int) -> None
Translates the two dimensional coordinates by the vector passed as the
argument t. The vector t must be of size two and contain the Cartesian
translation vectors. For ncoord sets of coordinates the input array xyz
is expected to have a length of \(2*ncoord\).
- xyz
Array of coordinates to translate
- t
Translation vector array
- ncoord
Number of coordinate sets