distance3d.geometry.support_function_box

distance3d.geometry.support_function_box(search_direction, box2origin, half_lengths)[source]

Compute extreme point of box along a direction.

Parameters:
search_directionarray, shape (3,)

Search direction.

box2originarray, shape (4, 4)

Pose of the box.

half_lengthsarray, shape (3,)

Half lengths of the box along its axes.

Returns:
extreme_pointarray, shape (3,)

Extreme point along search direction.