createFlattenAlongVectorToPlane MethodStatic

Return a transformation which flattens space onto a plane, sweeping along a direction which may be different from the plane normal.

  • See [Matrix3d.createFlattenAlongVectorToPlane] for math details.

createFlattenAlongVectorToPlane(sweepVector: Vector3d, planePoint: XYAndZ, planeNormal: Vector3d): Transform | undefined

Parameter Type Description
sweepVector Vector3d sweep direction. If same as planeNormal, the resulting transformation is a projection onto the plane.
planePoint XYAndZ any point on the plane
planeNormal Vector3d vector normal to the plane.

Returns - Transform | undefined

Defined in

Last Updated: 27 May, 2026