@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.
- package/index.d.ts +6 -0
- 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*/
|