distance3d.geometry.convert_box_to_vertices

distance3d.geometry.convert_box_to_vertices(box2origin, size)[source]

Convert box to vertices.

Parameters:
box2originarray, shape (4, 4)

Pose of the box.

sizearray, shape (3,)

Size of the box along its axes.

Returns:
box_pointsarray, shape (8, 3)

Vertices of the box.