import { Color, Plane, Group, Vector3 } from 'three'; export declare class MeasurementLine { private readonly _geometry; private readonly _meshes; private readonly _fixedWidthLineMaterial; private readonly _adaptiveWidthLineMaterial; private readonly _startPos; private readonly _endpoint; constructor(lineWidth: number, lineColor: Color, startPoint: Vector3); dispose(): void; get meshes(): Group; /** * Update the measuring line end point. * @param endPoint Second point of the line to end the measurement. */ updateLine(endPoint: Vector3): void; /** * Updates the measuring line clipping planes * @param clippingPlanes current active global clipping planes. */ updateLineClippingPlanes(clippingPlanes: Plane[]): void; /** * Get the distance between the measuring line start point & end point. * @returns Return distance between start & end point of the line. */ getMeasuredDistance(): number; /** * Calculate mid point on the Line. * @returns Returns mid point between start and end points. */ getMidPointOnLine(): Vector3; /** * Update current line width. * @param lineWidth Width of the measuring line mesh. */ updateLineWidth(lineWidth: number): void; /** * Update current line color. * @param color Color of the measuring line mesh. */ updateLineColor(color: Color): void; /** * Generate line geometry and create the mesh. */ private startLine; }