sendPointToPlane
sendPointToPlane(
point
,from
?,to
?):Point
Defined in: src/util/misc/planeChange.ts:36
Sends a point from the source coordinate plane to the destination coordinate plane.
From the canvas/viewer’s perspective the point remains unchanged.
Parameters
point
from?
TMat2D
= iMatrix
plane matrix containing object. Passing undefined
is equivalent to passing the identity matrix, which means point
exists in the canvas coordinate plane.
to?
TMat2D
= iMatrix
destination plane matrix to contain object. Passing undefined
means point
should be sent to the canvas coordinate plane.
Returns
transformed point