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: Readonly<WritableXAndY>, target: Readonly<WritableXAndY>, result?: Plane3dByOriginAndUnitNormal): undefined | Plane3dByOriginAndUnitNormal
Parameter | Type | Description |
---|---|---|
origin | Readonly<WritableXAndY> | |
target | Readonly<WritableXAndY> | |
result | Plane3dByOriginAndUnitNormal |
Returns - undefined | Plane3dByOriginAndUnitNormal
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.