UNPKG

@speckle/viewer

Version:

A 3d viewer for Speckle, based on threejs.

20 lines (19 loc) 773 B
import { Box3, Camera, Plane, Raycaster, Vector2, Vector3, type Intersection } from 'three'; import { Measurement } from './Measurement.js'; export declare class PerpendicularMeasurement extends Measurement { private startGizmo; private endGizmo; private normalIndicatorPixelSize; flipStartNormal: boolean; midPoint: Vector3; set isVisible(value: boolean); get bounds(): Box3; constructor(); frameUpdate(camera: Camera, size: Vector2, bounds: Box3): void; locationUpdated(point: Vector3, normal: Vector3): void; locationSelected(): void; update(): Promise<void>; raycast(raycaster: Raycaster, intersects: Array<Intersection>): void; highlight(value: boolean): void; updateClippingPlanes(planes: Plane[]): void; }