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(self, angle)

Return the rotation matrix to the system state at angle.

__init__(self, axis)[source]

Initialize a new instance.

Parameters
axisarray-like, shape (3,)

Vector defining the fixed rotation axis of this geometry.