@pilotdev/pilot-web-3d 25.2.0 → 25.3.2-alpha
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 +46 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1895,6 +1895,10 @@ export interface ModelPart {
|
|
|
1895
1895
|
getViewObject(): ViewObject;
|
|
1896
1896
|
dispose(): void;
|
|
1897
1897
|
}
|
|
1898
|
+
export class ModelPartVisibilityState {
|
|
1899
|
+
get elements(): ModelElementIds;
|
|
1900
|
+
get isContainsHiddenElements(): boolean;
|
|
1901
|
+
}
|
|
1898
1902
|
export enum IfcType {
|
|
1899
1903
|
IfcAbsorbedDoseMeasure = 0,
|
|
1900
1904
|
IfcAccelerationMeasure = 1,
|
|
@@ -3105,11 +3109,13 @@ export class ModelElementPropertySet {
|
|
|
3105
3109
|
name: string;
|
|
3106
3110
|
properties: ModelElementProperty[];
|
|
3107
3111
|
type: IfcType;
|
|
3112
|
+
static isEqual(a: ModelElementPropertySet, b: ModelElementPropertySet): boolean;
|
|
3108
3113
|
}
|
|
3109
3114
|
export class ModelElementProperty {
|
|
3110
3115
|
name: string;
|
|
3111
3116
|
unit: number;
|
|
3112
3117
|
value: ModelElementPropertyValue;
|
|
3118
|
+
static isEqual(a: ModelElementProperty, b: ModelElementProperty): boolean;
|
|
3113
3119
|
}
|
|
3114
3120
|
export class ModelElementPropertyValue {
|
|
3115
3121
|
str_value?: string;
|
|
@@ -3122,6 +3128,17 @@ export class ModelElementPropertyValue {
|
|
|
3122
3128
|
array_int_value: Array<number>;
|
|
3123
3129
|
bool_value?: boolean;
|
|
3124
3130
|
get value(): unknown;
|
|
3131
|
+
static isEqual(a: ModelElementPropertyValue, b: ModelElementPropertyValue): boolean;
|
|
3132
|
+
}
|
|
3133
|
+
export class ModelPartVersionsDiff {
|
|
3134
|
+
get addedNodes(): ModelElement[];
|
|
3135
|
+
get modifiedNodes(): ModelElement[];
|
|
3136
|
+
get attributesModifiedNodes(): ModelElement[];
|
|
3137
|
+
get deletedNodes(): ModelElement[];
|
|
3138
|
+
get unchangedNodes(): ModelElement[];
|
|
3139
|
+
get attributesFrom(): Map<string, ModelElementPropertySet[]>;
|
|
3140
|
+
get attributesTo(): Map<string, ModelElementPropertySet[]>;
|
|
3141
|
+
static Empty(): ModelPartVersionsDiff;
|
|
3125
3142
|
}
|
|
3126
3143
|
|
|
3127
3144
|
export class SettingsNames {
|
|
@@ -3210,8 +3227,13 @@ export class Model {
|
|
|
3210
3227
|
*/
|
|
3211
3228
|
getVisibleModelParts(): ModelPart[];
|
|
3212
3229
|
/**
|
|
3213
|
-
* Gets
|
|
3214
|
-
* @returns {ModelPart[]} - An array of
|
|
3230
|
+
* Gets completely visible model parst
|
|
3231
|
+
* @returns {ModelPart[]} - An array of completely visible model parts
|
|
3232
|
+
*/
|
|
3233
|
+
getCompletelyVisibleModelParts(): ModelPart[];
|
|
3234
|
+
/**
|
|
3235
|
+
* Gets completely hidden model parts
|
|
3236
|
+
* @returns {ModelPart[]} - An array of completely hidden model parts
|
|
3215
3237
|
*/
|
|
3216
3238
|
getHiddenModelParts(): ModelPart[];
|
|
3217
3239
|
/**
|
|
@@ -3295,6 +3317,15 @@ export class Model {
|
|
|
3295
3317
|
* @returns {ModelElementIds[]} Array of the currently visible model elements.
|
|
3296
3318
|
*/
|
|
3297
3319
|
getVisibleElements(): ModelElementIds[];
|
|
3320
|
+
/**
|
|
3321
|
+
* Returns the visibility states of the specified model parts.
|
|
3322
|
+
* @returns {ModelPartVisibilityState[]} Array of the visibility states.
|
|
3323
|
+
*/
|
|
3324
|
+
getVisibility(modelParts: string[] | ModelPart[]): ModelPartVisibilityState[];
|
|
3325
|
+
/**
|
|
3326
|
+
* Sets the visibility states of several model parts.
|
|
3327
|
+
*/
|
|
3328
|
+
setVisibility(states: ModelPartVisibilityState[]): void;
|
|
3298
3329
|
/**
|
|
3299
3330
|
* Returns the isolated element ids.
|
|
3300
3331
|
* @returns {ModelElementIds[]} Array of the currently visible model elements.
|
|
@@ -3366,6 +3397,19 @@ export class Model {
|
|
|
3366
3397
|
* @returns list of all model versions.
|
|
3367
3398
|
*/
|
|
3368
3399
|
getAllModelVersions(): Promise<bigint[]>;
|
|
3400
|
+
/**
|
|
3401
|
+
* Compare actual and versionToCompare versions of model part.
|
|
3402
|
+
* @param modelPart - id of the model part
|
|
3403
|
+
* @param versionToCompare - version
|
|
3404
|
+
* @returns {ModelPartVersionsDiff} - diff.
|
|
3405
|
+
*/
|
|
3406
|
+
compareVersions(modelPart: string | ModelPart, versionToCompare: bigint): Promise<ModelPartVersionsDiff>;
|
|
3407
|
+
/**
|
|
3408
|
+
* Delete the geometry of the need to show comparison results
|
|
3409
|
+
* @param modelPart - id of the model part
|
|
3410
|
+
* @returns {ModelPartVersionsDiff} - diff.
|
|
3411
|
+
*/
|
|
3412
|
+
finishComparation(modelPart: string | ModelPart): Promise<void>;
|
|
3369
3413
|
}
|
|
3370
3414
|
export interface INavigation {
|
|
3371
3415
|
/**
|