scaleAlignmentTo
Function in @bimworks/viewercommon.
API catalogue · @bimworks/viewercommon · Function
TypeScript#
function scaleAlignmentToMembers#
| Member | Kind | Description |
|---|---|---|
| scaleAlignmentTo | Method | The alignment whose uniform scale is scale, about the raw model point pivot. A sheet scale 1:n is the scale n × Viewer3d.getDrawingPaperUnitMm. null for … |
scaleAlignmentTo#
TypeScript#
scaleAlignmentTo(alignment: ArrayLike<number> | null, pivot: ArrayLike<number>, scale: number): DrawingScaleResult | nullThe alignment whose uniform scale is scale, about the raw model point pivot. A sheet scale 1:n is the scale
n × Viewer3d.getDrawingPaperUnitMm. null for a scale that is not positive
Parameters#
| Name | Type | Description |
|---|---|---|
alignment |
ArrayLike<number> | null |
|
pivot |
ArrayLike<number> |
|
scale |
number |