@pilotdev/pilot-web-3d 25.3.0 → 25.4.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 +22 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -229,6 +229,7 @@ export namespace Viewer3DIcons {
|
|
|
229
229
|
const VIEWER_MEASUREMENT_EDGE_ICON: string;
|
|
230
230
|
const VIEWER_MEASUREMENT_PLANE_ICON: string;
|
|
231
231
|
const VIEWER_MEASUREMENT_PERPENDICULAR_ICON: string;
|
|
232
|
+
const VIEWER_MEASUREMENT_POINT_COORDINATES_ICON: string;
|
|
232
233
|
const VIEWER_MEASUREMENT_DIMENSION_ICON: string;
|
|
233
234
|
const VIEWER_ZOOM_TO_FIT_ICON: string;
|
|
234
235
|
const VIEWER_RENDER_OPTIONS_ICON: string;
|
|
@@ -1893,8 +1894,13 @@ export interface ModelPart {
|
|
|
1893
1894
|
setModelPartPlacement(placement: THREE.Matrix4Tuple | number[]): void;
|
|
1894
1895
|
setModelPartScaling(scaling: number): void;
|
|
1895
1896
|
getViewObject(): ViewObject;
|
|
1897
|
+
getVirtualOrigin(): THREE.Vector3;
|
|
1896
1898
|
dispose(): void;
|
|
1897
1899
|
}
|
|
1900
|
+
export class ModelPartVisibilityState {
|
|
1901
|
+
get elements(): ModelElementIds;
|
|
1902
|
+
get isContainsHiddenElements(): boolean;
|
|
1903
|
+
}
|
|
1898
1904
|
export enum IfcType {
|
|
1899
1905
|
IfcAbsorbedDoseMeasure = 0,
|
|
1900
1906
|
IfcAccelerationMeasure = 1,
|
|
@@ -3223,8 +3229,13 @@ export class Model {
|
|
|
3223
3229
|
*/
|
|
3224
3230
|
getVisibleModelParts(): ModelPart[];
|
|
3225
3231
|
/**
|
|
3226
|
-
* Gets
|
|
3227
|
-
* @returns {ModelPart[]} - An array of
|
|
3232
|
+
* Gets completely visible model parst
|
|
3233
|
+
* @returns {ModelPart[]} - An array of completely visible model parts
|
|
3234
|
+
*/
|
|
3235
|
+
getCompletelyVisibleModelParts(): ModelPart[];
|
|
3236
|
+
/**
|
|
3237
|
+
* Gets completely hidden model parts
|
|
3238
|
+
* @returns {ModelPart[]} - An array of completely hidden model parts
|
|
3228
3239
|
*/
|
|
3229
3240
|
getHiddenModelParts(): ModelPart[];
|
|
3230
3241
|
/**
|
|
@@ -3308,6 +3319,15 @@ export class Model {
|
|
|
3308
3319
|
* @returns {ModelElementIds[]} Array of the currently visible model elements.
|
|
3309
3320
|
*/
|
|
3310
3321
|
getVisibleElements(): ModelElementIds[];
|
|
3322
|
+
/**
|
|
3323
|
+
* Returns the visibility states of the specified model parts.
|
|
3324
|
+
* @returns {ModelPartVisibilityState[]} Array of the visibility states.
|
|
3325
|
+
*/
|
|
3326
|
+
getVisibility(modelParts: string[] | ModelPart[]): ModelPartVisibilityState[];
|
|
3327
|
+
/**
|
|
3328
|
+
* Sets the visibility states of several model parts.
|
|
3329
|
+
*/
|
|
3330
|
+
setVisibility(states: ModelPartVisibilityState[]): void;
|
|
3311
3331
|
/**
|
|
3312
3332
|
* Returns the isolated element ids.
|
|
3313
3333
|
* @returns {ModelElementIds[]} Array of the currently visible model elements.
|