Import
Constructor
Properties
Dimensions
THREE.Scene
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Creates model dimensions and finds them by id. DimensionTool is the shared instance.
import { Dimensions, DimensionTool } from '@opengeometry/floorkit';
constructor(scene?: THREE.Scene);
static getInstance(): Dimensions;
set(key: string, value: any): void;
getDimensionsById(key: string): any;
createDimension(type: DimensionType): any;
createDimensionIn(scene: THREE.Scene, type: DimensionType): any;
const DimensionTool: Dimensions;
type DimensionType = 'length' | 'angle' | 'area' | 'radius' | 'diameter' | 'volume' | 'custom';