@inweb/viewer-visualize
Version:
JavaScript library for rendering CAD and BIM files in a browser using VisualizeJS
19 lines (18 loc) • 665 B
TypeScript
import { Viewer } from "../Viewer";
import { Point2d } from "./Common/Geometry";
import { ViewParams } from "./Common/OdaGeAction";
import { OdBaseDragger } from "./Common/OdBaseDragger";
export declare class OrbitAroundBuildingDragger extends OdBaseDragger {
protected maxPolarAngle: number;
protected minPolarAngle: number;
protected m_viewCenter: any;
protected m_startPoint: Point2d;
protected startCameraParams: ViewParams;
protected m_delta: number;
constructor(viewer: Viewer);
start(x: number, y: number): void;
setDefaultViewParams(): void;
drag(x: number, y: number): void;
end(): void;
getCenter(): any;
}