cherab.phix.observer.thin_lens_ccd.ThinLensCCDArray.to#
- ThinLensCCDArray.to()#
Returns an affine transform that, when applied to a vector or point, transforms the vector or point from the co-ordinate space of the calling node to the co-ordinate space of the target node.
For example, if space B is translated +100 in x compared to space A and A.to(B) is called then the matrix returned would represent a translation of -100 in x. Applied to point (0,0,0) in A, this would produce the point (-100,0,0) in B as B is translated +100 in x compared to A.
- Parameters:
node (_NodeBase) – The target node.
- Returns:
An AffineMatrix3D describing the coordinate transform.
- Rtyoe:
AffineMatrix3D