Function: createPlaneBasis()
createPlaneBasis(
normal,orientation):PlaneBasis
Builds an orthonormal in-plane frame from a normal and an orientation vector.
orientation gives the shape's major axis. It need not be unit length, nor
already lie in the plane - its component along the normal is removed.
Parameters
• normal: Point3
• orientation: Point3
Returns
Throws
if orientation is parallel to the normal, since it then defines no
in-plane direction at all.
Defined in
packages/core/src/utilities/voxelSlab/shapes/shapeGeometry.ts:56