distance3d.geometry.convert_rectangle_to_vertices

distance3d.geometry.convert_rectangle_to_vertices(rectangle_center, rectangle_axes, rectangle_lengths)[source]

Convert rectangle to vertices.

Parameters:
rectangle_centerarray, shape (3,)

Center point of the rectangle.

rectangle_axesarray, shape (2, 3)

Each row is a vector of unit length, indicating the direction of one axis of the rectangle. Both vectors are orthogonal.

rectangle_lengthsarray, shape (2,)

Lengths of the two sides of the rectangle.

Returns:
rectangle_pointsarray, shape (4, 3)

Vertices of the rectangle.