xyzPlusMatrixTimesCoordinatesToFloat64Array MethodStatic
Treat the 3x3 matrix and origin as a 3x4 matrix.
- Multiply the 3x4 matrix by
[x,y,z,1]
xyzPlusMatrixTimesCoordinatesToFloat64Array(origin: XYZ, matrix: Matrix3d, x: number, y: number, z: number, result?: Float64Array): Float64Array
Parameter | Type | Description |
---|---|---|
origin | XYZ | translation part (xyz in column 3) |
matrix | Matrix3d | matrix part (leading 3x3) |
x | number | x part of multiplied point |
y | number | y part of multiplied point |
z | number | z part of multiplied point |
result | Float64Array | optional preallocated result. If length < 3, a new array is returned. |
Returns - Float64Array
Defined in
- geometry3d/Matrix3d.ts Line 1855
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.