Rectangle
A rectangular surface.
Needs a normal for orientation and a tangent vector to define the direction of the length and width. The rectangle is centered at the given center point.
type#
center#
The center point of the rectangle.
normal#
The normal vector of the rectangle.
tangent#
The tangent vector of the rectangle.
The length of the rectangle is along the tangent direction and the width is along the cross product of the normal and tangent.
length#
The length of the rectangle along the tangent direction.
width#
The width of the rectangle.
The width is along the cross product of the normal and tangent.