AxisOrientedGeometry¶
- class odl.tomo.geometry.geometry.AxisOrientedGeometry(axis)[source]¶
Bases:
object
Mixin class for 3d geometries oriented along an axis.
- Attributes:
axis
Normalized axis of rotation, a 3d vector.
Methods
rotation_matrix
(angle)Return the rotation matrix to the system state at
angle
.- __init__(axis)[source]¶
Initialize a new instance.
- Parameters:
- axis
array-like
, shape(3,)
Vector defining the fixed rotation axis of this geometry.
- axis