Skip to content

copper3d / Modules / Controls/orbitFraming / FitBounds

Interface: FitBounds ​

Controls/orbitFraming.FitBounds

Table of contents ​

Properties ​

Properties ​

center ​

• center: [number, number, number]

The box's centre in scene units. [0, 0, 0] for an NRRD volume, whose RAS dimensions describe a box centred on the origin; a GLB's is not, so framing one from the origin leaves part of it out of frame. Not read by fitDistance, which only needs the extents.

Defined in ​

src/Controls/orbitFraming.ts:131


depth ​

• depth: number

Defined in ​

src/Controls/orbitFraming.ts:126


height ​

• height: number

Defined in ​

src/Controls/orbitFraming.ts:125


width ​

• width: number

Defined in ​

src/Controls/orbitFraming.ts:124