@thatopen/components 2.1.8 → 2.1.10
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/dist/core/Components/index.d.ts +1 -1
- package/dist/fragments/Classifier/index.d.ts +5 -2
- package/dist/fragments/IfcLoader/src/index.d.ts +1 -0
- package/dist/fragments/IfcLoader/src/spatial-ids-finder.d.ts +5 -0
- package/dist/index.cjs +5 -5
- package/dist/index.mjs +776 -748
- package/dist/namespace.d.ts +1475 -1467
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ export declare class Components implements Disposable {
|
|
|
6
6
|
/**
|
|
7
7
|
* The version of the @thatopen/components library.
|
|
8
8
|
*/
|
|
9
|
-
static readonly release = "2.1.
|
|
9
|
+
static readonly release = "2.1.10";
|
|
10
10
|
/** {@link Disposable.onDisposed} */
|
|
11
11
|
readonly onDisposed: Event<void>;
|
|
12
12
|
/**
|
|
@@ -128,7 +128,9 @@ export declare class Classifier extends Component implements Disposable {
|
|
|
128
128
|
* Classifies fragments based on their spatial structure in the IFC model.
|
|
129
129
|
*
|
|
130
130
|
* @param model - The FragmentsGroup containing the fragments to be classified.
|
|
131
|
-
* @param config - The configuration for the classifier. It includes "useProperties"
|
|
131
|
+
* @param config - The configuration for the classifier. It includes "useProperties", which is true by default
|
|
132
|
+
* (if false, the classification will use the expressIDs instead of the names), and "isolate", which will make
|
|
133
|
+
* the classifier just pick the WEBIFC categories provided.
|
|
132
134
|
*
|
|
133
135
|
* @remarks
|
|
134
136
|
* This method iterates through the relations of the fragments in the provided group,
|
|
@@ -139,7 +141,8 @@ export declare class Classifier extends Component implements Disposable {
|
|
|
139
141
|
* @throws Will throw an error if the fragment ID is not found or if the model relations do not exist.
|
|
140
142
|
*/
|
|
141
143
|
bySpatialStructure(model: FRAGS.FragmentsGroup, config?: {
|
|
142
|
-
useProperties
|
|
144
|
+
useProperties?: boolean;
|
|
145
|
+
isolate?: Set<number>;
|
|
143
146
|
}): Promise<void>;
|
|
144
147
|
/**
|
|
145
148
|
* Sets the color of the specified fragments.
|