@procore/bim-webviewer-sdk 17.3.0-rc.2 → 17.3.0-rc.3
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/CHANGELOG.md +1 -0
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/dist/types/src/measuring/PointToPointController.d.ts +4 -1
- package/dist/types/src/procoregl/MeshTopology/MeshTopology.d.ts +1 -0
- package/dist/types/src/procoregl/MeshTopology/__tests__/TopologyFixtures.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,8 +2,10 @@ import type { PickingController } from '../picking/PickingController';
|
|
|
2
2
|
import type { Models } from '../procoregl/Models';
|
|
3
3
|
import type { SnapType } from './MeasureToolUtils';
|
|
4
4
|
import type { ViewerRenderer } from '../procoregl/ViewerRenderer';
|
|
5
|
+
import { MeshTopology } from '../procoregl/MeshTopology';
|
|
5
6
|
import type { RenderController } from '../controllers/RenderController';
|
|
6
7
|
import { Vector3 } from '../types/Math';
|
|
8
|
+
import { Meshnode } from '../pwfreader/PWFTypes';
|
|
7
9
|
export type WorldIntersectionSnapResult = {
|
|
8
10
|
intersection: Vector3;
|
|
9
11
|
snapType: SnapType;
|
|
@@ -26,6 +28,7 @@ export declare class PointToPointController {
|
|
|
26
28
|
private readonly models;
|
|
27
29
|
private readonly camera;
|
|
28
30
|
private currentHoverMeshnodeIndex;
|
|
31
|
+
nonManifoldMeshnodeIndices: Set<number>;
|
|
29
32
|
private readonly meshTopologyCache;
|
|
30
33
|
private _enabled;
|
|
31
34
|
private readonly globalOffset;
|
|
@@ -50,7 +53,7 @@ export declare class PointToPointController {
|
|
|
50
53
|
private computeIntersectionSnapResult;
|
|
51
54
|
private getWorldIntersectionSnapResult;
|
|
52
55
|
private publishIntersectionSnapResult;
|
|
53
|
-
|
|
56
|
+
getMeshTopology(meshnode: Meshnode): MeshTopology | null;
|
|
54
57
|
private meshnodeTooComplex;
|
|
55
58
|
private determineHoverState;
|
|
56
59
|
}
|