ObjectTransformResult
Interface in @bimworks/viewer3d.
API catalogue · @bimworks/viewer3d · Interface
interface ObjectTransformResultWhat ObjectTransformOptions.onCommit receives: a move, preceded by an optional rotation around a pivot
Members#
| Member | Kind | Description |
|---|---|---|
| each | Property | Whether the objects turned each in place: models[].each holds the change per object. Viewer3D-Next |
| models | Property | The same change per model of the objects, in the model's own coordinates (its alignment and GEO placement taken out): what a BUL TRANSFORM of that model says… |
| moveMm | Property | The translation in millimetres, in the measurement frame |
| openings | Property | With fillings: whether their openings go along (false: write WITHOUT OPENINGS). Viewer3D-Next |
| renderDelta | Property | The whole change as a column-major 4 x 4 in the render frame (Viewer3D-Next) |
| rotate | Property | The rotation, null for a pure move; the pivot in millimetres, in the measurement frame |
each#
each?: booleanWhether the objects turned each in place: models[].each holds the change per object. Viewer3D-Next
models#
models?: (ObjectTransformModelResult)[]The same change per model of the objects, in the model's own coordinates (its alignment and GEO placement taken out): what a BUL TRANSFORM of that model says (Viewer3D-Next)
moveMm#
moveMm: [number, number, number]The translation in millimetres, in the measurement frame
openings#
openings?: booleanWith fillings: whether their openings go along (false: write WITHOUT OPENINGS). Viewer3D-Next
renderDelta#
renderDelta?: (number)[]The whole change as a column-major 4 x 4 in the render frame (Viewer3D-Next)
rotate#
rotate: { angleDeg: number; axis: [number, number, number]; pivotMm: [number, number, number] } | nullThe rotation, null for a pure move; the pivot in millimetres, in the measurement frame