createOriginAndTargetXY MethodStatic
Create a new Plane3dByOriginAndUnitNormal with unit normal (a) in the xy plane (b) perpendicular to the line defined by xy parts of origin to target.
- origin and normal both have z = 0.
- The inputs are NOT captured.
- Returns undefined if the normal vector is all zeros.
createOriginAndTargetXY(origin: XAndY, target: XAndY, result?: Plane3dByOriginAndUnitNormal): Plane3dByOriginAndUnitNormal | undefined
| Parameter | Type | Description |
|---|---|---|
| origin | XAndY | |
| target | XAndY | |
| result | Plane3dByOriginAndUnitNormal |
Returns - Plane3dByOriginAndUnitNormal | undefined
Defined in
Last Updated: 28 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.