@pilotdev/pilot-web-3d 24.20.0 → 24.21.0

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.
Files changed (2) hide show
  1. package/index.d.ts +6 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -985,6 +985,12 @@ export interface IIntersectionChecker<TOptions> {
985
985
  * @param options - (optional) intersection check options.
986
986
  */
987
987
  getAllIntersectionsByNdcPt(ndcPos: THREE.Vector2, camera: THREE.Camera, options?: TOptions): THREE.Intersection<THREE.Object3D>[];
988
+ /**
989
+ * Gets bounding box of the model elements.
990
+ * @param elements
991
+ * @param options
992
+ */
993
+ getObjectsBoundingBox(elements: ModelElementIds[], options?: TOptions): THREE.Box3;
988
994
  }
989
995
  export interface ISceneIntersectionChecker extends IIntersectionChecker<SceneCheckOptions> {
990
996
  /** Gets the bounding box of the scene*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pilotdev/pilot-web-3d",
3
- "version": "24.20.0",
3
+ "version": "24.21.0",
4
4
  "description": "TypeScript definitions for ASCON PilotWeb3D component",
5
5
  "main": "",
6
6
  "types": "index.d.ts",