RotationAxisAndRadius#

class RotationAxisAndRadius[source]#

Bases: object

Rotation axis and averaged radius derived from an oriented bounding box.

axis_of_rotation#

Unit vector along the selected rotation axis, shape (3,). Always dimensionless.

Type:

numpy.ndarray

averaged_radius#

Estimated cylinder radius, averaged from the two OBB half-extents perpendicular to the rotation axis. Carries the geometry’s project length unit, inherited from the OBBResult it was derived from.

Type:

unyt.unyt_quantity