@inweb/client 25.2.2 → 25.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -20
- package/README.md +70 -70
- package/dist/client.js +12739 -12352
- package/dist/client.js.map +1 -1
- package/dist/client.min.js +1 -1
- package/dist/client.module.js +588 -157
- package/dist/client.module.js.map +1 -1
- package/lib/Api/Assembly.d.ts +338 -338
- package/lib/Api/ClashTest.d.ts +175 -175
- package/lib/Api/Client.d.ts +451 -451
- package/lib/Api/ClientEvents.d.ts +28 -28
- package/lib/Api/File.d.ts +567 -567
- package/lib/Api/HttpClient.d.ts +12 -12
- package/lib/Api/IAssembly.d.ts +13 -13
- package/lib/Api/IFile.d.ts +45 -45
- package/lib/Api/IHttpClient.d.ts +10 -10
- package/lib/Api/IUser.d.ts +10 -10
- package/lib/Api/Job.d.ts +141 -141
- package/lib/Api/Member.d.ts +84 -84
- package/lib/Api/Model.d.ts +146 -146
- package/lib/Api/Permission.d.ts +92 -92
- package/lib/Api/Project.d.ts +246 -246
- package/lib/Api/Role.d.ts +81 -81
- package/lib/Api/User.d.ts +196 -196
- package/lib/Api/impl/FetchError.d.ts +17 -17
- package/lib/Api/impl/Utils.d.ts +32 -32
- package/lib/Api/impl/http.d.ts +66 -66
- package/lib/ConvetMath.d.ts +28 -28
- package/lib/Viewer/CanvasEvents.d.ts +1 -1
- package/lib/Viewer/Commands/ApplyModelTransform.d.ts +1 -1
- package/lib/Viewer/Commands/ClearMarkup.d.ts +1 -1
- package/lib/Viewer/Commands/ClearSlices.d.ts +1 -1
- package/lib/Viewer/Commands/CreatePreview.d.ts +1 -1
- package/lib/Viewer/Commands/Explode.d.ts +1 -1
- package/lib/Viewer/Commands/GetDefaultViewPositions.d.ts +1 -1
- package/lib/Viewer/Commands/GetModels.d.ts +1 -1
- package/lib/Viewer/Commands/GetSelected.d.ts +1 -1
- package/lib/Viewer/Commands/HideSelected.d.ts +1 -1
- package/lib/Viewer/Commands/IsolateSelected.d.ts +1 -1
- package/lib/Viewer/Commands/RegenerateAll.d.ts +1 -1
- package/lib/Viewer/Commands/ResetView.d.ts +1 -1
- package/lib/Viewer/Commands/SelectModel.d.ts +1 -1
- package/lib/Viewer/Commands/SetActiveDragger.d.ts +1 -1
- package/lib/Viewer/Commands/SetDefaultViewPosition.d.ts +1 -1
- package/lib/Viewer/Commands/SetMarkupColor.d.ts +1 -1
- package/lib/Viewer/Commands/SetSelected.d.ts +1 -1
- package/lib/Viewer/Commands/ShowAll.d.ts +1 -1
- package/lib/Viewer/Commands/Unselect.d.ts +1 -1
- package/lib/Viewer/Commands/ZoomToExtents.d.ts +1 -1
- package/lib/Viewer/Commands/ZoomToObjects.d.ts +1 -1
- package/lib/Viewer/Commands/ZoomToSelected.d.ts +1 -1
- package/lib/Viewer/Commands.d.ts +2 -2
- package/lib/Viewer/Draggers/Actions/OrbitAction.d.ts +21 -21
- package/lib/Viewer/Draggers/Actions/PanAction.d.ts +17 -17
- package/lib/Viewer/Draggers/Actions/ZoomAction.d.ts +7 -7
- package/lib/Viewer/Draggers/Common/Geometry.d.ts +114 -114
- package/lib/Viewer/Draggers/Common/GestureManager.d.ts +40 -40
- package/lib/Viewer/Draggers/Common/OdBaseDragger.d.ts +53 -53
- package/lib/Viewer/Draggers/Common/OdaGeAction.d.ts +29 -29
- package/lib/Viewer/Draggers/MeasureLineDragger/MeasureLineItem.d.ts +30 -30
- package/lib/Viewer/Draggers/MeasureLineDragger/MeasureUtils.d.ts +19 -19
- package/lib/Viewer/Draggers/MeasureLineDragger/index.d.ts +23 -23
- package/lib/Viewer/Draggers/OdBaseCuttingPlaneDragger.d.ts +26 -26
- package/lib/Viewer/Draggers/OdCuttingPlaneXAxisDragger.d.ts +7 -7
- package/lib/Viewer/Draggers/OdCuttingPlaneYAxisDragger.d.ts +7 -7
- package/lib/Viewer/Draggers/OdCuttingPlaneZAxisDragger.d.ts +7 -7
- package/lib/Viewer/Draggers/OdOrbitDragger.d.ts +14 -14
- package/lib/Viewer/Draggers/OdPanDragger.d.ts +11 -11
- package/lib/Viewer/Draggers/OdZoomDragger.d.ts +11 -11
- package/lib/Viewer/Draggers/OdZoomWheelDragger.d.ts +10 -10
- package/lib/Viewer/Draggers/OdZoomWindowDragger/OdSelectionFrame.d.ts +18 -18
- package/lib/Viewer/Draggers/OdZoomWindowDragger/index.d.ts +13 -13
- package/lib/Viewer/Draggers/OdaLineDragger.d.ts +14 -14
- package/lib/Viewer/Draggers/OdaTextDragger.d.ts +15 -15
- package/lib/Viewer/Draggers/OdaWalkDragger.d.ts +29 -29
- package/lib/Viewer/Draggers/OrbitAroundBuildingDragger.d.ts +18 -18
- package/lib/Viewer/EventEmitter2.d.ts +53 -53
- package/lib/Viewer/ICommands.d.ts +24 -24
- package/lib/Viewer/IEventEmitter2.d.ts +12 -12
- package/lib/Viewer/IViewer.d.ts +26 -26
- package/lib/Viewer/Loaders/BaseLoader.d.ts +10 -10
- package/lib/Viewer/Loaders/LoaderFactory.d.ts +9 -9
- package/lib/Viewer/Loaders/TCSLoader.d.ts +4 -4
- package/lib/Viewer/Loaders/UpdaterController.d.ts +14 -14
- package/lib/Viewer/Loaders/VsfXLoader.d.ts +4 -4
- package/lib/Viewer/Loaders/VsfXPartialLoader.d.ts +4 -4
- package/lib/Viewer/Markup/Api/IMarkupArrow.d.ts +21 -11
- package/lib/Viewer/Markup/Api/IMarkupCloud.d.ts +15 -0
- package/lib/Viewer/Markup/Api/IMarkupColorable.d.ts +4 -4
- package/lib/Viewer/Markup/Api/IMarkupEllipse.d.ts +14 -14
- package/lib/Viewer/Markup/Api/IMarkupImage.d.ts +14 -14
- package/lib/Viewer/Markup/Api/IMarkupLine.d.ts +18 -10
- package/lib/Viewer/Markup/Api/IMarkupObject.d.ts +11 -11
- package/lib/Viewer/Markup/Api/IMarkupRectangle.d.ts +14 -14
- package/lib/Viewer/Markup/Api/IMarkupText.d.ts +12 -12
- package/lib/Viewer/Markup/Api/Impl/Konva/KonvaArrow.d.ts +46 -31
- package/lib/Viewer/Markup/Api/Impl/Konva/KonvaCloud.d.ts +36 -0
- package/lib/Viewer/Markup/Api/Impl/Konva/KonvaEllipse.d.ts +40 -39
- package/lib/Viewer/Markup/Api/Impl/Konva/KonvaImage.d.ts +36 -35
- package/lib/Viewer/Markup/Api/Impl/Konva/KonvaLine.d.ts +35 -31
- package/lib/Viewer/Markup/Api/Impl/Konva/KonvaRectangle.d.ts +38 -37
- package/lib/Viewer/Markup/Api/Impl/Konva/KonvaText.d.ts +37 -36
- package/lib/Viewer/Markup/IMarkup.d.ts +38 -37
- package/lib/Viewer/Markup/Impl/Konva/KonvaMarkup.d.ts +71 -62
- package/lib/Viewer/Markup/Impl/Konva/MarkupColor.d.ts +18 -18
- package/lib/Viewer/Markup/Impl/Visualize/VisualizeMarkup.d.ts +32 -32
- package/lib/Viewer/Markup/MarkupFactory.d.ts +6 -6
- package/lib/Viewer/Options.d.ts +227 -227
- package/lib/Viewer/OptionsEvents.d.ts +25 -25
- package/lib/Viewer/Viewer.d.ts +352 -352
- package/lib/Viewer/ViewerCommands.d.ts +22 -22
- package/lib/Viewer/ViewerEvents.d.ts +600 -600
- package/lib/Viewer/utils.d.ts +3 -3
- package/lib/index.d.ts +23 -23
- package/package.json +38 -32
- package/src/Api/Assembly.ts +678 -678
- package/src/Api/ClashTest.ts +290 -290
- package/src/Api/Client.ts +816 -816
- package/src/Api/ClientEvents.ts +31 -31
- package/src/Api/File.ts +962 -962
- package/src/Api/HttpClient.ts +73 -73
- package/src/Api/IAssembly.ts +37 -37
- package/src/Api/IFile.ts +74 -74
- package/src/Api/IHttpClient.ts +50 -50
- package/src/Api/IUser.ts +33 -33
- package/src/Api/Job.ts +253 -253
- package/src/Api/Member.ts +161 -161
- package/src/Api/Model.ts +259 -259
- package/src/Api/Permission.ts +173 -173
- package/src/Api/Project.ts +479 -479
- package/src/Api/Role.ts +158 -158
- package/src/Api/User.ts +357 -357
- package/src/Api/impl/FetchError.ts +48 -48
- package/src/Api/impl/Utils.ts +367 -367
- package/src/Api/impl/http.ts +92 -92
- package/src/ConvetMath.ts +372 -372
- package/src/Viewer/CanvasEvents.ts +41 -41
- package/src/Viewer/Commands/ApplyModelTransform.ts +70 -70
- package/src/Viewer/Commands/ClearMarkup.ts +28 -28
- package/src/Viewer/Commands/ClearSlices.ts +27 -27
- package/src/Viewer/Commands/CreatePreview.ts +33 -33
- package/src/Viewer/Commands/Explode.ts +38 -38
- package/src/Viewer/Commands/GetDefaultViewPositions.ts +36 -36
- package/src/Viewer/Commands/GetModels.ts +43 -43
- package/src/Viewer/Commands/GetSelected.ts +58 -58
- package/src/Viewer/Commands/HideSelected.ts +37 -37
- package/src/Viewer/Commands/IsolateSelected.ts +37 -37
- package/src/Viewer/Commands/RegenerateAll.ts +37 -37
- package/src/Viewer/Commands/ResetView.ts +43 -43
- package/src/Viewer/Commands/SelectModel.ts +52 -52
- package/src/Viewer/Commands/SetActiveDragger.ts +29 -29
- package/src/Viewer/Commands/SetDefaultViewPosition.ts +50 -50
- package/src/Viewer/Commands/SetMarkupColor.ts +29 -29
- package/src/Viewer/Commands/SetSelected.ts +47 -47
- package/src/Viewer/Commands/ShowAll.ts +37 -37
- package/src/Viewer/Commands/Unselect.ts +37 -37
- package/src/Viewer/Commands/ZoomToExtents.ts +43 -43
- package/src/Viewer/Commands/ZoomToObjects.ts +47 -47
- package/src/Viewer/Commands/ZoomToSelected.ts +39 -39
- package/src/Viewer/Commands.ts +81 -81
- package/src/Viewer/Draggers/Actions/OrbitAction.ts +250 -250
- package/src/Viewer/Draggers/Actions/PanAction.ts +102 -102
- package/src/Viewer/Draggers/Actions/ZoomAction.ts +45 -45
- package/src/Viewer/Draggers/Common/Geometry.ts +152 -152
- package/src/Viewer/Draggers/Common/GestureManager.ts +263 -263
- package/src/Viewer/Draggers/Common/OdBaseDragger.ts +270 -270
- package/src/Viewer/Draggers/Common/OdaGeAction.ts +146 -146
- package/src/Viewer/Draggers/MeasureLineDragger/MeasureLineItem.ts +248 -248
- package/src/Viewer/Draggers/MeasureLineDragger/MeasureUtils.ts +182 -182
- package/src/Viewer/Draggers/MeasureLineDragger/index.ts +166 -166
- package/src/Viewer/Draggers/OdBaseCuttingPlaneDragger.ts +182 -182
- package/src/Viewer/Draggers/OdCuttingPlaneXAxisDragger.ts +53 -53
- package/src/Viewer/Draggers/OdCuttingPlaneYAxisDragger.ts +53 -53
- package/src/Viewer/Draggers/OdCuttingPlaneZAxisDragger.ts +53 -53
- package/src/Viewer/Draggers/OdOrbitDragger.ts +70 -70
- package/src/Viewer/Draggers/OdPanDragger.ts +62 -62
- package/src/Viewer/Draggers/OdZoomDragger.ts +59 -59
- package/src/Viewer/Draggers/OdZoomWheelDragger.ts +103 -103
- package/src/Viewer/Draggers/OdZoomWindowDragger/OdSelectionFrame.ts +123 -123
- package/src/Viewer/Draggers/OdZoomWindowDragger/index.ts +75 -75
- package/src/Viewer/Draggers/OdaLineDragger.ts +80 -80
- package/src/Viewer/Draggers/OdaTextDragger.ts +118 -118
- package/src/Viewer/Draggers/OdaWalkDragger.ts +278 -278
- package/src/Viewer/Draggers/OrbitAroundBuildingDragger.ts +184 -184
- package/src/Viewer/EventEmitter2.ts +116 -116
- package/src/Viewer/ICommands.ts +53 -53
- package/src/Viewer/IEventEmitter2.ts +36 -36
- package/src/Viewer/IViewer.ts +55 -55
- package/src/Viewer/Loaders/BaseLoader.ts +40 -40
- package/src/Viewer/Loaders/LoaderFactory.ts +44 -44
- package/src/Viewer/Loaders/TCSLoader.ts +82 -82
- package/src/Viewer/Loaders/UpdaterController.ts +36 -36
- package/src/Viewer/Loaders/VsfXLoader.ts +87 -87
- package/src/Viewer/Loaders/VsfXPartialLoader.ts +208 -208
- package/src/Viewer/Markup/Api/IMarkupArrow.ts +12 -15
- package/src/Viewer/Markup/Api/IMarkupCloud.ts +15 -0
- package/src/Viewer/Markup/Api/IMarkupColorable.ts +4 -4
- package/src/Viewer/Markup/Api/IMarkupEllipse.ts +15 -15
- package/src/Viewer/Markup/Api/IMarkupImage.ts +15 -15
- package/src/Viewer/Markup/Api/IMarkupLine.ts +20 -10
- package/src/Viewer/Markup/Api/IMarkupObject.ts +15 -15
- package/src/Viewer/Markup/Api/IMarkupRectangle.ts +15 -15
- package/src/Viewer/Markup/Api/IMarkupText.ts +12 -12
- package/src/Viewer/Markup/Api/Impl/Konva/KonvaArrow.ts +117 -119
- package/src/Viewer/Markup/Api/Impl/Konva/KonvaCloud.ts +208 -0
- package/src/Viewer/Markup/Api/Impl/Konva/KonvaEllipse.ts +118 -113
- package/src/Viewer/Markup/Api/Impl/Konva/KonvaImage.ts +123 -121
- package/src/Viewer/Markup/Api/Impl/Konva/KonvaLine.ts +130 -99
- package/src/Viewer/Markup/Api/Impl/Konva/KonvaRectangle.ts +119 -113
- package/src/Viewer/Markup/Api/Impl/Konva/KonvaText.ts +110 -104
- package/src/Viewer/Markup/IMarkup.ts +40 -39
- package/src/Viewer/Markup/Impl/Konva/KonvaMarkup.ts +1208 -872
- package/src/Viewer/Markup/Impl/Konva/MarkupColor.ts +39 -39
- package/src/Viewer/Markup/Impl/Visualize/VisualizeMarkup.ts +273 -273
- package/src/Viewer/Markup/MarkupFactory.ts +32 -32
- package/src/Viewer/Options.ts +502 -502
- package/src/Viewer/OptionsEvents.ts +28 -28
- package/src/Viewer/Viewer.ts +1109 -1109
- package/src/Viewer/ViewerCommands.ts +45 -45
- package/src/Viewer/ViewerEvents.ts +700 -700
- package/src/Viewer/utils.ts +74 -74
- package/src/index.ts +48 -48
package/lib/ConvetMath.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Convert world coordinates to screen normalized (-1, 1)
|
|
3
|
-
*
|
|
4
|
-
* @param viewMatrix Camera world matrix
|
|
5
|
-
* @param projectionMatrix Camera projection matrix
|
|
6
|
-
* @param worldPoint World point
|
|
7
|
-
*/
|
|
8
|
-
export declare function worldToScreenNormalized(viewMatrix: Array<number>, projectionMatrix: Array<number>, worldPoint: [x: number, y: number, z: number]): [x: number, y: number, z: number];
|
|
9
|
-
export declare function multiplyMatrices(a: Array<number>, b: Array<number>): Array<number>;
|
|
10
|
-
/**
|
|
11
|
-
* @param matrix
|
|
12
|
-
* @returns Matrix
|
|
13
|
-
*/
|
|
14
|
-
export declare function invertMatrix(matrix: Array<number>): Array<number>;
|
|
15
|
-
/**
|
|
16
|
-
* Convert world coordinates to screen (screenWidth, screenHeight)
|
|
17
|
-
*
|
|
18
|
-
* @param viewMatrix Camera world matrix
|
|
19
|
-
* @param projectionMatrix Camera projection matrix
|
|
20
|
-
* @param worldPoint World point
|
|
21
|
-
* @param screenWidth Screen width
|
|
22
|
-
* @param screenHeight Screen height
|
|
23
|
-
*/
|
|
24
|
-
export declare function worldToScreen(viewMatrix: Array<number>, projectionMatrix: Array<number>, worldPoint: [x: number, y: number, z: number], screenWidth: number, screenHeight: number): number[];
|
|
25
|
-
export declare function createOrthoProjectionMatrix(camera: any, width: any, height: any): number[];
|
|
26
|
-
export declare function createViewMatrix(camera: any): any[];
|
|
27
|
-
export declare function bcfWorldToScreenFromCamera(camera: any, canvas: HTMLCanvasElement, point: [x: number, y: number, z: number]): number[];
|
|
28
|
-
export declare function matrixLookAt(matrix: any, eye: any, target: any, up: any): any;
|
|
1
|
+
/**
|
|
2
|
+
* Convert world coordinates to screen normalized (-1, 1)
|
|
3
|
+
*
|
|
4
|
+
* @param viewMatrix Camera world matrix
|
|
5
|
+
* @param projectionMatrix Camera projection matrix
|
|
6
|
+
* @param worldPoint World point
|
|
7
|
+
*/
|
|
8
|
+
export declare function worldToScreenNormalized(viewMatrix: Array<number>, projectionMatrix: Array<number>, worldPoint: [x: number, y: number, z: number]): [x: number, y: number, z: number];
|
|
9
|
+
export declare function multiplyMatrices(a: Array<number>, b: Array<number>): Array<number>;
|
|
10
|
+
/**
|
|
11
|
+
* @param matrix
|
|
12
|
+
* @returns Matrix
|
|
13
|
+
*/
|
|
14
|
+
export declare function invertMatrix(matrix: Array<number>): Array<number>;
|
|
15
|
+
/**
|
|
16
|
+
* Convert world coordinates to screen (screenWidth, screenHeight)
|
|
17
|
+
*
|
|
18
|
+
* @param viewMatrix Camera world matrix
|
|
19
|
+
* @param projectionMatrix Camera projection matrix
|
|
20
|
+
* @param worldPoint World point
|
|
21
|
+
* @param screenWidth Screen width
|
|
22
|
+
* @param screenHeight Screen height
|
|
23
|
+
*/
|
|
24
|
+
export declare function worldToScreen(viewMatrix: Array<number>, projectionMatrix: Array<number>, worldPoint: [x: number, y: number, z: number], screenWidth: number, screenHeight: number): number[];
|
|
25
|
+
export declare function createOrthoProjectionMatrix(camera: any, width: any, height: any): number[];
|
|
26
|
+
export declare function createViewMatrix(camera: any): any[];
|
|
27
|
+
export declare function bcfWorldToScreenFromCamera(camera: any, canvas: HTMLCanvasElement, point: [x: number, y: number, z: number]): number[];
|
|
28
|
+
export declare function matrixLookAt(matrix: any, eye: any, target: any, up: any): any;
|
|
29
29
|
//# sourceMappingURL=ConvetMath.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const CANVAS_EVENTS: string[];
|
|
1
|
+
export declare const CANVAS_EVENTS: string[];
|
|
2
2
|
//# sourceMappingURL=CanvasEvents.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const composeMatrixFromTransform: (translate: any, rotate: any, scale: any, modelCenter: any, matrix: any) => any;
|
|
1
|
+
export declare const composeMatrixFromTransform: (translate: any, rotate: any, scale: any, modelCenter: any, matrix: any) => any;
|
|
2
2
|
//# sourceMappingURL=ApplyModelTransform.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=ClearMarkup.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=ClearSlices.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=CreatePreview.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=Explode.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=GetDefaultViewPositions.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=GetModels.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=GetSelected.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=HideSelected.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=IsolateSelected.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=RegenerateAll.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=ResetView.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=SelectModel.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=SetActiveDragger.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=SetDefaultViewPosition.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=SetMarkupColor.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=SetSelected.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=ShowAll.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=Unselect.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=ZoomToExtents.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=ZoomToObjects.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=ZoomToSelected.d.ts.map
|
package/lib/Viewer/Commands.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ICommands } from "./ICommands";
|
|
2
|
-
export declare function commands(viewerType: string): ICommands;
|
|
1
|
+
import { ICommands } from "./ICommands";
|
|
2
|
+
export declare function commands(viewerType: string): ICommands;
|
|
3
3
|
//# sourceMappingURL=Commands.d.ts.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Viewer } from "../../Viewer";
|
|
2
|
-
export declare class OrbitAction {
|
|
3
|
-
private _m_module;
|
|
4
|
-
private _subject;
|
|
5
|
-
private _beginInteractivity;
|
|
6
|
-
private _endInteractivity;
|
|
7
|
-
private m_viewCenter;
|
|
8
|
-
private m_startPoint;
|
|
9
|
-
constructor(m_module: any, subject: Viewer, beginInteractivity: () => void, endInteractivity: () => void);
|
|
10
|
-
beginAction(x: number, y: number): void;
|
|
11
|
-
action(x: number, y: number): void;
|
|
12
|
-
endAction(): void;
|
|
13
|
-
private getSideVector;
|
|
14
|
-
private calculateXOrbit;
|
|
15
|
-
private calculateYOrbit;
|
|
16
|
-
private getCenter;
|
|
17
|
-
private getViewer;
|
|
18
|
-
private toVector;
|
|
19
|
-
private toPoint;
|
|
20
|
-
private deleteAll;
|
|
21
|
-
}
|
|
1
|
+
import { Viewer } from "../../Viewer";
|
|
2
|
+
export declare class OrbitAction {
|
|
3
|
+
private _m_module;
|
|
4
|
+
private _subject;
|
|
5
|
+
private _beginInteractivity;
|
|
6
|
+
private _endInteractivity;
|
|
7
|
+
private m_viewCenter;
|
|
8
|
+
private m_startPoint;
|
|
9
|
+
constructor(m_module: any, subject: Viewer, beginInteractivity: () => void, endInteractivity: () => void);
|
|
10
|
+
beginAction(x: number, y: number): void;
|
|
11
|
+
action(x: number, y: number): void;
|
|
12
|
+
endAction(): void;
|
|
13
|
+
private getSideVector;
|
|
14
|
+
private calculateXOrbit;
|
|
15
|
+
private calculateYOrbit;
|
|
16
|
+
private getCenter;
|
|
17
|
+
private getViewer;
|
|
18
|
+
private toVector;
|
|
19
|
+
private toPoint;
|
|
20
|
+
private deleteAll;
|
|
21
|
+
}
|
|
22
22
|
//# sourceMappingURL=OrbitAction.d.ts.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ViewParams } from "../Common/OdaGeAction";
|
|
2
|
-
import { Viewer } from "../../Viewer";
|
|
3
|
-
export declare class PanAction {
|
|
4
|
-
private _m_module;
|
|
5
|
-
private _subject;
|
|
6
|
-
private _m_start;
|
|
7
|
-
private _deltaScreenPosition;
|
|
8
|
-
private _beginInteractivity;
|
|
9
|
-
private _endInteractivity;
|
|
10
|
-
private _getViewParams;
|
|
11
|
-
private _setViewParams;
|
|
12
|
-
constructor(m_module: any, subject: Viewer, beginInteractivity: () => void, endInteractivity: () => void, getViewParams: () => ViewParams, setViewParams: (params: ViewParams) => void);
|
|
13
|
-
beginAction(x: number, y: number): void;
|
|
14
|
-
action(x: number, y: number): void;
|
|
15
|
-
endAction(): void;
|
|
16
|
-
private screenToWorld;
|
|
17
|
-
}
|
|
1
|
+
import { ViewParams } from "../Common/OdaGeAction";
|
|
2
|
+
import { Viewer } from "../../Viewer";
|
|
3
|
+
export declare class PanAction {
|
|
4
|
+
private _m_module;
|
|
5
|
+
private _subject;
|
|
6
|
+
private _m_start;
|
|
7
|
+
private _deltaScreenPosition;
|
|
8
|
+
private _beginInteractivity;
|
|
9
|
+
private _endInteractivity;
|
|
10
|
+
private _getViewParams;
|
|
11
|
+
private _setViewParams;
|
|
12
|
+
constructor(m_module: any, subject: Viewer, beginInteractivity: () => void, endInteractivity: () => void, getViewParams: () => ViewParams, setViewParams: (params: ViewParams) => void);
|
|
13
|
+
beginAction(x: number, y: number): void;
|
|
14
|
+
action(x: number, y: number): void;
|
|
15
|
+
endAction(): void;
|
|
16
|
+
private screenToWorld;
|
|
17
|
+
}
|
|
18
18
|
//# sourceMappingURL=PanAction.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Viewer } from "../../Viewer";
|
|
2
|
-
export declare class ZoomAction {
|
|
3
|
-
private _m_module;
|
|
4
|
-
private _subject;
|
|
5
|
-
constructor(m_module: any, subject: Viewer);
|
|
6
|
-
action(x: number, y: number, zoomFactor: number): void;
|
|
7
|
-
}
|
|
1
|
+
import { Viewer } from "../../Viewer";
|
|
2
|
+
export declare class ZoomAction {
|
|
3
|
+
private _m_module;
|
|
4
|
+
private _subject;
|
|
5
|
+
constructor(m_module: any, subject: Viewer);
|
|
6
|
+
action(x: number, y: number, zoomFactor: number): void;
|
|
7
|
+
}
|
|
8
8
|
//# sourceMappingURL=ZoomAction.d.ts.map
|
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
export interface Point2d {
|
|
2
|
-
x: number;
|
|
3
|
-
y: number;
|
|
4
|
-
}
|
|
5
|
-
export type Vector3 = [x: number, y: number, z: number];
|
|
6
|
-
export interface Point3d {
|
|
7
|
-
add(point: Point3d): any;
|
|
8
|
-
asVector(): Vector3d;
|
|
9
|
-
distanceTo(point: Point3d): any;
|
|
10
|
-
rotateBy(angle: number, vector: Vector3d): any;
|
|
11
|
-
rotateByBasePoint(angle: number, vector: Vector3d, basePoint: Point3d): any;
|
|
12
|
-
scaleBy(factor: number, basePoint: Point3d): any;
|
|
13
|
-
set(x: number, y: number, z: number): any;
|
|
14
|
-
setToProduct(matrix: any, point: Point3d): any;
|
|
15
|
-
setToSum(point: Point3d, vector: Vector3d): any;
|
|
16
|
-
sub(point: Point3d): Point3d;
|
|
17
|
-
toArray(): number[];
|
|
18
|
-
transformBy(matrix: any): any;
|
|
19
|
-
translate(vector: Vector3d): any;
|
|
20
|
-
get x(): number;
|
|
21
|
-
set x(x: number);
|
|
22
|
-
get y(): number;
|
|
23
|
-
set y(y: number);
|
|
24
|
-
get z(): number;
|
|
25
|
-
set z(z: number);
|
|
26
|
-
}
|
|
27
|
-
export interface Vector3d {
|
|
28
|
-
add(vector: Vector3d): any;
|
|
29
|
-
angleTo(vector: Vector3d): any;
|
|
30
|
-
angleToWithRef(vector: Vector3d, ref: Vector3d): any;
|
|
31
|
-
asPoint(): Point3d;
|
|
32
|
-
crossProduct(vector: Vector3d): any;
|
|
33
|
-
dotProduct(vector: Vector3d): any;
|
|
34
|
-
isEqualTo(vector: Vector3d): boolean;
|
|
35
|
-
length(): number;
|
|
36
|
-
lengthSqrd(): number;
|
|
37
|
-
mirror(): any;
|
|
38
|
-
negate(): any;
|
|
39
|
-
normal(): any;
|
|
40
|
-
normalize(): any;
|
|
41
|
-
rotateBy(angle: number, vector: Vector3d): any;
|
|
42
|
-
set(x: number, y: number, z: number): any;
|
|
43
|
-
setLength(length: number): any;
|
|
44
|
-
setToProduct(vector: Vector3d, scale: number): any;
|
|
45
|
-
setToSum(vector1: Vector3d, vector2: Vector3d): any;
|
|
46
|
-
sub(vector: Vector3d): any;
|
|
47
|
-
toArray(): number[];
|
|
48
|
-
transformBy(matrix: any): any;
|
|
49
|
-
get x(): number;
|
|
50
|
-
set x(x: number);
|
|
51
|
-
get y(): number;
|
|
52
|
-
set y(y: number);
|
|
53
|
-
get z(): number;
|
|
54
|
-
set z(z: number);
|
|
55
|
-
}
|
|
56
|
-
export interface Matrix3d {
|
|
57
|
-
det(): number;
|
|
58
|
-
get(row: number, col: number): number;
|
|
59
|
-
getCoordSystem(origin: Point3d, xAxis: Vector3d, yAxis: Vector3d, zAxis: Vector3d): any;
|
|
60
|
-
getCsOrigin(): Point3d;
|
|
61
|
-
getCsXAxis(): Vector3d;
|
|
62
|
-
getCsYAxis(): Vector3d;
|
|
63
|
-
getCsZAxis(): Vector3d;
|
|
64
|
-
invert(): Matrix3d;
|
|
65
|
-
isEqualTo(): any;
|
|
66
|
-
isPerspective(): any;
|
|
67
|
-
isScaledOrtho(): any;
|
|
68
|
-
isSingular(): any;
|
|
69
|
-
isUniScaledOrtho(): any;
|
|
70
|
-
norm(): number;
|
|
71
|
-
postMultBy(rightSide: Matrix3d): Matrix3d;
|
|
72
|
-
preMultBy(leftSide: Matrix3d): Matrix3d;
|
|
73
|
-
scale(): any;
|
|
74
|
-
set(row: number, col: number, value: number): any;
|
|
75
|
-
setCoordSystem(origin: Point3d, xAxis: Vector3d, yAxis: Vector3d, zAxis: Vector3d): Matrix3d;
|
|
76
|
-
setToAlignCoordSys(fromOrigin: Point3d, fromXAxis: Vector3d, fromYAxis: Vector3d, fromZAxis: Vector3d, toOrigin: Point3d, toXAxis: Vector3d, toYAxis: Vector3d, toZAxis: Vector3d): any;
|
|
77
|
-
setToIdentity(): Matrix3d;
|
|
78
|
-
setToProduct(matrix1: Matrix3d, matrix2: any): Matrix3d;
|
|
79
|
-
setToProjection(projectionPlane: OdTvPlane, projectDir: Vector3d): Matrix3d;
|
|
80
|
-
setToRotation(angle: number, axis: Vector3, center: Point3d): Matrix3d;
|
|
81
|
-
setToScaling(arg0: any, arg1: any): any;
|
|
82
|
-
setToWorldToPlane(geVector3d: number[]): any;
|
|
83
|
-
setTranslation(vect: Vector3d): any;
|
|
84
|
-
transpose(): Matrix3d;
|
|
85
|
-
transposeIt(): Matrix3d;
|
|
86
|
-
validateZero(): void;
|
|
87
|
-
}
|
|
88
|
-
export interface OdTvPlane {
|
|
89
|
-
getOrigin(): any;
|
|
90
|
-
getUAxis(): any;
|
|
91
|
-
getVAxis(): any;
|
|
92
|
-
normal(): any;
|
|
93
|
-
set(point: number[], normal: OdTvVector): any;
|
|
94
|
-
set3ptr(uPnt: OdTvVector, origin: OdTvVector, vPnt: OdTvVector): any;
|
|
95
|
-
set4double(a: number, b: number, c: number, d: number): any;
|
|
96
|
-
setUV(origin: OdTvPoint, uAxis: OdTvPoint, vAxis: OdTvPoint): any;
|
|
97
|
-
}
|
|
98
|
-
export interface OdTvPoint {
|
|
99
|
-
setParam(controlPoints: any[]): any;
|
|
100
|
-
getParam(): any[];
|
|
101
|
-
getPointsCount(): number;
|
|
102
|
-
editPointsViaRange(startPos: number, points: any[]): any;
|
|
103
|
-
editPointsViaList(indPoints: any[], points: any[]): any;
|
|
104
|
-
setPointSize(value: number): any;
|
|
105
|
-
getPointSize(): number;
|
|
106
|
-
setPointColorsViaList(indPoints: any[], colors: any[]): any;
|
|
107
|
-
setPointColorsViaRange(indStart: number, nCount: number, colors: any[]): any;
|
|
108
|
-
getPointColor(ind: number): any;
|
|
109
|
-
setPointNormalsViaList(indPoints: any[], vectors: any[]): any;
|
|
110
|
-
setPointNormalsViaRange(indStart: number, vectors: any[]): any;
|
|
111
|
-
getPointNormal(ind: number): any;
|
|
112
|
-
}
|
|
113
|
-
export interface OdTvVector {
|
|
114
|
-
}
|
|
1
|
+
export interface Point2d {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
}
|
|
5
|
+
export type Vector3 = [x: number, y: number, z: number];
|
|
6
|
+
export interface Point3d {
|
|
7
|
+
add(point: Point3d): any;
|
|
8
|
+
asVector(): Vector3d;
|
|
9
|
+
distanceTo(point: Point3d): any;
|
|
10
|
+
rotateBy(angle: number, vector: Vector3d): any;
|
|
11
|
+
rotateByBasePoint(angle: number, vector: Vector3d, basePoint: Point3d): any;
|
|
12
|
+
scaleBy(factor: number, basePoint: Point3d): any;
|
|
13
|
+
set(x: number, y: number, z: number): any;
|
|
14
|
+
setToProduct(matrix: any, point: Point3d): any;
|
|
15
|
+
setToSum(point: Point3d, vector: Vector3d): any;
|
|
16
|
+
sub(point: Point3d): Point3d;
|
|
17
|
+
toArray(): number[];
|
|
18
|
+
transformBy(matrix: any): any;
|
|
19
|
+
translate(vector: Vector3d): any;
|
|
20
|
+
get x(): number;
|
|
21
|
+
set x(x: number);
|
|
22
|
+
get y(): number;
|
|
23
|
+
set y(y: number);
|
|
24
|
+
get z(): number;
|
|
25
|
+
set z(z: number);
|
|
26
|
+
}
|
|
27
|
+
export interface Vector3d {
|
|
28
|
+
add(vector: Vector3d): any;
|
|
29
|
+
angleTo(vector: Vector3d): any;
|
|
30
|
+
angleToWithRef(vector: Vector3d, ref: Vector3d): any;
|
|
31
|
+
asPoint(): Point3d;
|
|
32
|
+
crossProduct(vector: Vector3d): any;
|
|
33
|
+
dotProduct(vector: Vector3d): any;
|
|
34
|
+
isEqualTo(vector: Vector3d): boolean;
|
|
35
|
+
length(): number;
|
|
36
|
+
lengthSqrd(): number;
|
|
37
|
+
mirror(): any;
|
|
38
|
+
negate(): any;
|
|
39
|
+
normal(): any;
|
|
40
|
+
normalize(): any;
|
|
41
|
+
rotateBy(angle: number, vector: Vector3d): any;
|
|
42
|
+
set(x: number, y: number, z: number): any;
|
|
43
|
+
setLength(length: number): any;
|
|
44
|
+
setToProduct(vector: Vector3d, scale: number): any;
|
|
45
|
+
setToSum(vector1: Vector3d, vector2: Vector3d): any;
|
|
46
|
+
sub(vector: Vector3d): any;
|
|
47
|
+
toArray(): number[];
|
|
48
|
+
transformBy(matrix: any): any;
|
|
49
|
+
get x(): number;
|
|
50
|
+
set x(x: number);
|
|
51
|
+
get y(): number;
|
|
52
|
+
set y(y: number);
|
|
53
|
+
get z(): number;
|
|
54
|
+
set z(z: number);
|
|
55
|
+
}
|
|
56
|
+
export interface Matrix3d {
|
|
57
|
+
det(): number;
|
|
58
|
+
get(row: number, col: number): number;
|
|
59
|
+
getCoordSystem(origin: Point3d, xAxis: Vector3d, yAxis: Vector3d, zAxis: Vector3d): any;
|
|
60
|
+
getCsOrigin(): Point3d;
|
|
61
|
+
getCsXAxis(): Vector3d;
|
|
62
|
+
getCsYAxis(): Vector3d;
|
|
63
|
+
getCsZAxis(): Vector3d;
|
|
64
|
+
invert(): Matrix3d;
|
|
65
|
+
isEqualTo(): any;
|
|
66
|
+
isPerspective(): any;
|
|
67
|
+
isScaledOrtho(): any;
|
|
68
|
+
isSingular(): any;
|
|
69
|
+
isUniScaledOrtho(): any;
|
|
70
|
+
norm(): number;
|
|
71
|
+
postMultBy(rightSide: Matrix3d): Matrix3d;
|
|
72
|
+
preMultBy(leftSide: Matrix3d): Matrix3d;
|
|
73
|
+
scale(): any;
|
|
74
|
+
set(row: number, col: number, value: number): any;
|
|
75
|
+
setCoordSystem(origin: Point3d, xAxis: Vector3d, yAxis: Vector3d, zAxis: Vector3d): Matrix3d;
|
|
76
|
+
setToAlignCoordSys(fromOrigin: Point3d, fromXAxis: Vector3d, fromYAxis: Vector3d, fromZAxis: Vector3d, toOrigin: Point3d, toXAxis: Vector3d, toYAxis: Vector3d, toZAxis: Vector3d): any;
|
|
77
|
+
setToIdentity(): Matrix3d;
|
|
78
|
+
setToProduct(matrix1: Matrix3d, matrix2: any): Matrix3d;
|
|
79
|
+
setToProjection(projectionPlane: OdTvPlane, projectDir: Vector3d): Matrix3d;
|
|
80
|
+
setToRotation(angle: number, axis: Vector3, center: Point3d): Matrix3d;
|
|
81
|
+
setToScaling(arg0: any, arg1: any): any;
|
|
82
|
+
setToWorldToPlane(geVector3d: number[]): any;
|
|
83
|
+
setTranslation(vect: Vector3d): any;
|
|
84
|
+
transpose(): Matrix3d;
|
|
85
|
+
transposeIt(): Matrix3d;
|
|
86
|
+
validateZero(): void;
|
|
87
|
+
}
|
|
88
|
+
export interface OdTvPlane {
|
|
89
|
+
getOrigin(): any;
|
|
90
|
+
getUAxis(): any;
|
|
91
|
+
getVAxis(): any;
|
|
92
|
+
normal(): any;
|
|
93
|
+
set(point: number[], normal: OdTvVector): any;
|
|
94
|
+
set3ptr(uPnt: OdTvVector, origin: OdTvVector, vPnt: OdTvVector): any;
|
|
95
|
+
set4double(a: number, b: number, c: number, d: number): any;
|
|
96
|
+
setUV(origin: OdTvPoint, uAxis: OdTvPoint, vAxis: OdTvPoint): any;
|
|
97
|
+
}
|
|
98
|
+
export interface OdTvPoint {
|
|
99
|
+
setParam(controlPoints: any[]): any;
|
|
100
|
+
getParam(): any[];
|
|
101
|
+
getPointsCount(): number;
|
|
102
|
+
editPointsViaRange(startPos: number, points: any[]): any;
|
|
103
|
+
editPointsViaList(indPoints: any[], points: any[]): any;
|
|
104
|
+
setPointSize(value: number): any;
|
|
105
|
+
getPointSize(): number;
|
|
106
|
+
setPointColorsViaList(indPoints: any[], colors: any[]): any;
|
|
107
|
+
setPointColorsViaRange(indStart: number, nCount: number, colors: any[]): any;
|
|
108
|
+
getPointColor(ind: number): any;
|
|
109
|
+
setPointNormalsViaList(indPoints: any[], vectors: any[]): any;
|
|
110
|
+
setPointNormalsViaRange(indStart: number, vectors: any[]): any;
|
|
111
|
+
getPointNormal(ind: number): any;
|
|
112
|
+
}
|
|
113
|
+
export interface OdTvVector {
|
|
114
|
+
}
|
|
115
115
|
//# sourceMappingURL=Geometry.d.ts.map
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { Viewer } from "../../Viewer";
|
|
2
|
-
import { OdBaseDragger } from "./OdBaseDragger";
|
|
3
|
-
export declare enum GestureAction {
|
|
4
|
-
None = 0,
|
|
5
|
-
Orbit = 1,
|
|
6
|
-
Pan = 2,
|
|
7
|
-
Zoom = 3
|
|
8
|
-
}
|
|
9
|
-
export declare class GestureManager extends OdBaseDragger {
|
|
10
|
-
private _previousEvents;
|
|
11
|
-
private _currentEvents;
|
|
12
|
-
private _lastGestureAction;
|
|
13
|
-
private _orbitAction;
|
|
14
|
-
private _panAction;
|
|
15
|
-
private _zoomAction;
|
|
16
|
-
private _initialDistance;
|
|
17
|
-
private readonly _maxInitialDistanceDifference;
|
|
18
|
-
private _isSingleTouchEnabled;
|
|
19
|
-
get isSingleTouchEnabled(): boolean;
|
|
20
|
-
set isSingleTouchEnabled(value: boolean);
|
|
21
|
-
constructor(subject: Viewer);
|
|
22
|
-
private getMiddlePoint;
|
|
23
|
-
private getFirstPoint;
|
|
24
|
-
private getDistance;
|
|
25
|
-
private updateEvent;
|
|
26
|
-
private removeEvent;
|
|
27
|
-
private getKeys;
|
|
28
|
-
private analyzeGesture;
|
|
29
|
-
private executeZoomAction;
|
|
30
|
-
private executePanAction;
|
|
31
|
-
private executeOrbitAction;
|
|
32
|
-
private executeEndAction;
|
|
33
|
-
private needIgnoreEvent;
|
|
34
|
-
private eventIsTouchEvent;
|
|
35
|
-
pointerdown(event: PointerEvent): void;
|
|
36
|
-
pointermove(event: PointerEvent): void;
|
|
37
|
-
pointerup(event: PointerEvent): void;
|
|
38
|
-
pointercancel(event: PointerEvent): void;
|
|
39
|
-
pointerleave(event: PointerEvent): void;
|
|
40
|
-
}
|
|
1
|
+
import { Viewer } from "../../Viewer";
|
|
2
|
+
import { OdBaseDragger } from "./OdBaseDragger";
|
|
3
|
+
export declare enum GestureAction {
|
|
4
|
+
None = 0,
|
|
5
|
+
Orbit = 1,
|
|
6
|
+
Pan = 2,
|
|
7
|
+
Zoom = 3
|
|
8
|
+
}
|
|
9
|
+
export declare class GestureManager extends OdBaseDragger {
|
|
10
|
+
private _previousEvents;
|
|
11
|
+
private _currentEvents;
|
|
12
|
+
private _lastGestureAction;
|
|
13
|
+
private _orbitAction;
|
|
14
|
+
private _panAction;
|
|
15
|
+
private _zoomAction;
|
|
16
|
+
private _initialDistance;
|
|
17
|
+
private readonly _maxInitialDistanceDifference;
|
|
18
|
+
private _isSingleTouchEnabled;
|
|
19
|
+
get isSingleTouchEnabled(): boolean;
|
|
20
|
+
set isSingleTouchEnabled(value: boolean);
|
|
21
|
+
constructor(subject: Viewer);
|
|
22
|
+
private getMiddlePoint;
|
|
23
|
+
private getFirstPoint;
|
|
24
|
+
private getDistance;
|
|
25
|
+
private updateEvent;
|
|
26
|
+
private removeEvent;
|
|
27
|
+
private getKeys;
|
|
28
|
+
private analyzeGesture;
|
|
29
|
+
private executeZoomAction;
|
|
30
|
+
private executePanAction;
|
|
31
|
+
private executeOrbitAction;
|
|
32
|
+
private executeEndAction;
|
|
33
|
+
private needIgnoreEvent;
|
|
34
|
+
private eventIsTouchEvent;
|
|
35
|
+
pointerdown(event: PointerEvent): void;
|
|
36
|
+
pointermove(event: PointerEvent): void;
|
|
37
|
+
pointerup(event: PointerEvent): void;
|
|
38
|
+
pointercancel(event: PointerEvent): void;
|
|
39
|
+
pointerleave(event: PointerEvent): void;
|
|
40
|
+
}
|
|
41
41
|
//# sourceMappingURL=GestureManager.d.ts.map
|