Geometry.rotation_matrix¶
-
Geometry.
rotation_matrix
(self, mparam)[source]¶ Return the rotation matrix to the system state at
mparam
.- Parameters
- mparam
array-like
or sequence Motion parameter(s) at which to evaluate. If
motion_params.ndim >= 2
, a sequence of that length must be provided.
- mparam
- Returns
- rot
numpy.ndarray
The rotation matrix (or matrices) mapping vectors at the initial state to the ones in the state defined by
mparam
. The rotation is extrinsic, i.e., defined in the “world” coordinate system.
- rot