@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.
@@ -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
- private getMeshTopology;
56
+ getMeshTopology(meshnode: Meshnode): MeshTopology | null;
54
57
  private meshnodeTooComplex;
55
58
  private determineHoverState;
56
59
  }
@@ -23,4 +23,5 @@ export declare class MeshTopology {
23
23
  private findOrphan;
24
24
  private addOrphan;
25
25
  private dedupePositionsAndFaces;
26
+ orderFaceIndices(arr: [number, number, number]): [number, number, number];
26
27
  }
@@ -7,3 +7,4 @@ export declare const flatRingOrphan: MeshTopology;
7
7
  export declare const tetraedron: MeshTopology;
8
8
  export declare const tetraedronCW: MeshTopology;
9
9
  export declare const tetraedronOpen: MeshTopology;
10
+ export declare const pwfNonManifold: Mesh;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procore/bim-webviewer-sdk",
3
- "version": "17.3.0-rc.2",
3
+ "version": "17.3.0-rc.3",
4
4
  "description": "Procore BIM Webviewer SDK",
5
5
  "main": "dist/Procore.Bim.Webviewer.js",
6
6
  "types": "dist/Procore.Bim.Webviewer.d.ts",