@inweb/viewer-visualize
Version:
JavaScript library for rendering CAD and BIM files in a browser using VisualizeJS
27 lines (26 loc) • 897 B
TypeScript
import { Viewer } from "../Viewer";
import { Point2d, Point3d } from "./Common/Geometry";
import { OdBaseDragger } from "./Common/OdBaseDragger";
export declare class OdBaseCuttingPlaneDragger extends OdBaseDragger {
protected m_size_x: number;
protected m_size_y: number;
protected m_size_z: number;
protected m_center: Point3d;
protected m_normal: number[];
protected index: number;
protected m_model: any;
protected m_entity: any;
protected planePreview: any;
protected m_last: Point3d;
protected m_click: Point2d;
constructor(subject: Viewer);
dispose(): void;
createNormal(): number[];
handleDelta(delta: Point3d): Point3d;
getPlanePreviewCoordinate(): any[];
start(x: number, y: number): void;
drag(x: number, y: number): void;
end(x: number, y: number): void;
createPreview(): void;
drawPreview(): void;
}