xyzPlusMatrixTimesWeightedCoordinates MethodStatic
Treat the 3x3 matrix and origin as upper 3x4 part of a 4x4 matrix, with 0001 as the final row.
Multiply the 4x4 matrix by [x,y,z,w]
xyzPlusMatrixTimesWeightedCoordinates(origin: XYZ, matrix: Matrix3d, x: number, y: number, z: number, w: number, result?: Point4d): Point4d
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 |
w | number | w part of multiplied point |
result | Point4d | optional preallocated result. |
Returns - Point4d
Defined in
- geometry3d/Matrix3d.ts Line 1804
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.