ocjs-fluidcad 1.4.0 → 1.6.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/dist/aliases.generated.js +3 -1
- package/dist/aliases.generated.json +2 -0
- package/dist/opencascade.fluidcad.multi-threaded.build-manifest.json +13 -4
- package/dist/opencascade.fluidcad.multi-threaded.d.ts +753 -0
- package/dist/opencascade.fluidcad.multi-threaded.js.symbols +30533 -30004
- package/dist/opencascade.fluidcad.multi-threaded.provenance.json +20 -11
- package/dist/opencascade.fluidcad.multi-threaded.wasm +0 -0
- package/package.json +1 -1
|
@@ -16010,6 +16010,406 @@ export declare class Law_Function extends Standard_Transient {
|
|
|
16010
16010
|
[Symbol.dispose](): void;
|
|
16011
16011
|
}
|
|
16012
16012
|
|
|
16013
|
+
/**
|
|
16014
|
+
* Implements a projector object. To transform and project Points and Planes. This object is designed to be used in the removal of hidden lines and is returned by the Prs3d_Projector::Projector function. You define the projection of the selected shape by calling one of the following functions:
|
|
16015
|
+
*
|
|
16016
|
+
* - `HLRBRep_Algo::Projector`, or
|
|
16017
|
+
* - `HLRBRep_PolyAlgo::Projector` The choice depends on the algorithm, which you are using. The parameters of the view are defined at the time of construction of a Prs3d_Projector object.
|
|
16018
|
+
*/
|
|
16019
|
+
export declare class HLRAlgo_Projector {
|
|
16020
|
+
constructor();
|
|
16021
|
+
/**
|
|
16022
|
+
* Creates an axonometric projector. <CS> is the viewing coordinate system.
|
|
16023
|
+
*/
|
|
16024
|
+
constructor(CS: gp_Ax2);
|
|
16025
|
+
/**
|
|
16026
|
+
* Creates a perspective projector. <CS> is the viewing coordinate system.
|
|
16027
|
+
*/
|
|
16028
|
+
constructor(CS: gp_Ax2, Focus: number);
|
|
16029
|
+
/**
|
|
16030
|
+
* build a Projector with automatic minmax directions.
|
|
16031
|
+
*/
|
|
16032
|
+
constructor(T: gp_Trsf, Persp: boolean, Focus: number);
|
|
16033
|
+
/**
|
|
16034
|
+
* build a Projector with given minmax directions.
|
|
16035
|
+
*/
|
|
16036
|
+
constructor(T: gp_Trsf, Persp: boolean, Focus: number, v1: gp_Vec2d, v2: gp_Vec2d, v3: gp_Vec2d);
|
|
16037
|
+
Set(T: gp_Trsf, Persp: boolean, Focus: number): void;
|
|
16038
|
+
Directions(D1: gp_Vec2d, D2: gp_Vec2d, D3: gp_Vec2d): void;
|
|
16039
|
+
/**
|
|
16040
|
+
* to compute with the given scale and translation.
|
|
16041
|
+
*/
|
|
16042
|
+
Scaled(On?: boolean): void;
|
|
16043
|
+
/**
|
|
16044
|
+
* Returns True if there is a perspective transformation.
|
|
16045
|
+
*/
|
|
16046
|
+
Perspective(): boolean;
|
|
16047
|
+
/**
|
|
16048
|
+
* Returns the active transformation.
|
|
16049
|
+
*/
|
|
16050
|
+
Transformation(): gp_Trsf;
|
|
16051
|
+
/**
|
|
16052
|
+
* Returns the active inverted transformation.
|
|
16053
|
+
*/
|
|
16054
|
+
InvertedTransformation(): gp_Trsf;
|
|
16055
|
+
/**
|
|
16056
|
+
* Returns the original transformation.
|
|
16057
|
+
*/
|
|
16058
|
+
FullTransformation(): gp_Trsf;
|
|
16059
|
+
/**
|
|
16060
|
+
* Returns the focal length.
|
|
16061
|
+
*/
|
|
16062
|
+
Focus(): number;
|
|
16063
|
+
Transform(D: gp_Vec): void;
|
|
16064
|
+
Transform(Pnt: gp_Pnt): void;
|
|
16065
|
+
/**
|
|
16066
|
+
* Transform and apply perspective if needed.
|
|
16067
|
+
* @param Pout Mutated in place; read the updated value from this argument after the call.
|
|
16068
|
+
*/
|
|
16069
|
+
Project(P: gp_Pnt, Pout: gp_Pnt2d): void;
|
|
16070
|
+
/**
|
|
16071
|
+
* Transform and apply perspective if needed.
|
|
16072
|
+
* @returns A result object with fields:
|
|
16073
|
+
* - `X`: updated value from the call.
|
|
16074
|
+
* - `Y`: updated value from the call.
|
|
16075
|
+
* - `Z`: updated value from the call.
|
|
16076
|
+
*/
|
|
16077
|
+
Project(P: gp_Pnt, X: number, Y: number, Z: number): { X: number; Y: number; Z: number };
|
|
16078
|
+
/**
|
|
16079
|
+
* Transform and apply perspective if needed.
|
|
16080
|
+
* @param Pout Mutated in place; read the updated value from this argument after the call.
|
|
16081
|
+
* @param D1out Mutated in place; read the updated value from this argument after the call.
|
|
16082
|
+
*/
|
|
16083
|
+
Project(P: gp_Pnt, D1: gp_Vec, Pout: gp_Pnt2d, D1out: gp_Vec2d): void;
|
|
16084
|
+
/**
|
|
16085
|
+
* return a line going through the eye towards the 2d point <X,Y>.
|
|
16086
|
+
*/
|
|
16087
|
+
Shoot(X: number, Y: number): gp_Lin;
|
|
16088
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
16089
|
+
delete(): void;
|
|
16090
|
+
[Symbol.dispose](): void;
|
|
16091
|
+
}
|
|
16092
|
+
|
|
16093
|
+
/**
|
|
16094
|
+
* Inherited from InternalAlgo to provide methods with Shape from `TopoDS`. A framework to compute a shape as seen in a projection plane. This is done by calculating the visible and the hidden parts of the shape. {@link HLRBRep_Algo | `HLRBRep_Algo`} works with three types of entity:
|
|
16095
|
+
*
|
|
16096
|
+
* - shapes to be visualized
|
|
16097
|
+
* - edges in these shapes (these edges are the basic entities which will be visualized or hidden), and
|
|
16098
|
+
* - faces in these shapes which hide the edges. {@link HLRBRep_Algo | `HLRBRep_Algo`} is based on the principle of comparing each edge of the shape to be visualized with each of its faces, and calculating the visible and the hidden parts of each edge. For a given projection, {@link HLRBRep_Algo | `HLRBRep_Algo`} calculates a set of lines characteristic of the object being represented. It is also used in conjunction with the {@link HLRBRep_HLRToShape | `HLRBRep_HLRToShape`} extraction utilities, which reconstruct a new, simplified shape from a selection of calculation results.
|
|
16099
|
+
* This new shape is made up of edges, which represent the shape visualized in the projection. {@link HLRBRep_Algo | `HLRBRep_Algo`} takes the shape itself into account whereas {@link HLRBRep_PolyAlgo | `HLRBRep_PolyAlgo`} works with a polyhedral simplification of the shape.
|
|
16100
|
+
* When you use {@link HLRBRep_Algo | `HLRBRep_Algo`}, you obtain an exact result, whereas, when you use {@link HLRBRep_PolyAlgo | `HLRBRep_PolyAlgo`}, you reduce computation time but obtain polygonal segments. In the case of complicated shapes, {@link HLRBRep_Algo | `HLRBRep_Algo`} may be time-consuming. An {@link HLRBRep_Algo | `HLRBRep_Algo`} object provides a framework for:
|
|
16101
|
+
* - defining the point of view
|
|
16102
|
+
* - identifying the shape or shapes to be visualized
|
|
16103
|
+
* - calculating the outlines
|
|
16104
|
+
* - calculating the visible and hidden lines of the shape. Warning
|
|
16105
|
+
* - Superimposed lines are not eliminated by this algorithm.
|
|
16106
|
+
* - There must be no unfinished objects inside the shape you wish to visualize.
|
|
16107
|
+
* - Points are not treated.
|
|
16108
|
+
* - Note that this is not the sort of algorithm used in generating shading, which calculates the visible and hidden parts of each face in a shape to be visualized by comparing each face in the shape with every other face in the same shape.
|
|
16109
|
+
*/
|
|
16110
|
+
export declare class HLRBRep_Algo extends HLRBRep_InternalAlgo {
|
|
16111
|
+
/**
|
|
16112
|
+
* Constructs an empty framework for the calculation of visible and hidden lines of a shape in a projection. Use the function:
|
|
16113
|
+
*
|
|
16114
|
+
* - Projector to define the point of view
|
|
16115
|
+
* - Add to select the shape or shapes to be visualized
|
|
16116
|
+
* - Update to compute the outlines of the shape, and
|
|
16117
|
+
* - Hide to compute the visible and hidden lines of the shape.
|
|
16118
|
+
*/
|
|
16119
|
+
constructor();
|
|
16120
|
+
constructor(A: HLRBRep_Algo);
|
|
16121
|
+
/**
|
|
16122
|
+
* add the Shape .
|
|
16123
|
+
*/
|
|
16124
|
+
Add(S: TopoDS_Shape, SData: Standard_Transient, nbIso: number): void;
|
|
16125
|
+
/**
|
|
16126
|
+
* Adds the shape S to this framework, and specifies the number of isoparameters nbiso desired in visualizing S. You may add as many shapes as you wish. Use the function Add once for each shape.
|
|
16127
|
+
*/
|
|
16128
|
+
Add(S: TopoDS_Shape, nbIso: number): void;
|
|
16129
|
+
/**
|
|
16130
|
+
* return the index of the Shape and return 0 if the Shape is not found.
|
|
16131
|
+
*/
|
|
16132
|
+
Index(S: TopoDS_Shape): number;
|
|
16133
|
+
/**
|
|
16134
|
+
* return the index of the Shape and return 0 if the Shape is not found.
|
|
16135
|
+
*/
|
|
16136
|
+
Index(S: HLRTopoBRep_OutLiner): number;
|
|
16137
|
+
/**
|
|
16138
|
+
* nullify all the results of OutLiner from HLRTopoBRep.
|
|
16139
|
+
*/
|
|
16140
|
+
OutLinedShapeNullify(): void;
|
|
16141
|
+
static get_type_name(): string;
|
|
16142
|
+
static get_type_descriptor(): unknown;
|
|
16143
|
+
DynamicType(): unknown;
|
|
16144
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
16145
|
+
delete(): void;
|
|
16146
|
+
[Symbol.dispose](): void;
|
|
16147
|
+
}
|
|
16148
|
+
|
|
16149
|
+
/**
|
|
16150
|
+
* A framework for filtering the computation results of an {@link HLRBRep_Algo | `HLRBRep_Algo`} algorithm by extraction. From the results calculated by the algorithm on a shape, a filter returns the type of edge you want to identify. You can choose any of the following types of output:
|
|
16151
|
+
*
|
|
16152
|
+
* - visible sharp edges
|
|
16153
|
+
* - hidden sharp edges
|
|
16154
|
+
* - visible smooth edges
|
|
16155
|
+
* - hidden smooth edges
|
|
16156
|
+
* - visible sewn edges
|
|
16157
|
+
* - hidden sewn edges
|
|
16158
|
+
* - visible outline edges
|
|
16159
|
+
* - hidden outline edges.
|
|
16160
|
+
* - visible isoparameters and
|
|
16161
|
+
* - hidden isoparameters. Sharp edges present a C0 continuity (non G1). Smooth edges present a G1 continuity (non G2). Sewn edges present a C2 continuity. The result is composed of 2D edges in the projection plane of the view which the algorithm has worked with. These 2D edges are not included in the data structure of the visualized shape. In order to obtain a complete image, you must combine the shapes given by each of the chosen filters. The construction of the shape does not call a new computation of the algorithm, but only reads its internal results. The methods of this shape are almost identic to those of the HLRBrep_PolyHLRToShape class.
|
|
16162
|
+
*/
|
|
16163
|
+
export declare class HLRBRep_HLRToShape {
|
|
16164
|
+
/**
|
|
16165
|
+
* Constructs a framework for filtering the results of the {@link HLRBRep_Algo | `HLRBRep_Algo`} algorithm, A. Use the extraction filters to obtain the results you want for A.
|
|
16166
|
+
*/
|
|
16167
|
+
constructor(A: HLRBRep_Algo);
|
|
16168
|
+
// dropped: DrawFace param 3 resolves to excluded type HLRBRep_Data
|
|
16169
|
+
/**
|
|
16170
|
+
* Return visible sharp edges (of C0-continuity).
|
|
16171
|
+
*/
|
|
16172
|
+
VCompound(): TopoDS_Shape;
|
|
16173
|
+
/**
|
|
16174
|
+
* Return visible sharp edges (of C0-continuity) of specified shape.
|
|
16175
|
+
*/
|
|
16176
|
+
VCompound(S: TopoDS_Shape): TopoDS_Shape;
|
|
16177
|
+
/**
|
|
16178
|
+
* Return visible smooth edges (G1-continuity between two surfaces).
|
|
16179
|
+
*/
|
|
16180
|
+
Rg1LineVCompound(): TopoDS_Shape;
|
|
16181
|
+
/**
|
|
16182
|
+
* Return visible smooth edges (G1-continuity between two surfaces) of specified shape.
|
|
16183
|
+
*/
|
|
16184
|
+
Rg1LineVCompound(S: TopoDS_Shape): TopoDS_Shape;
|
|
16185
|
+
/**
|
|
16186
|
+
* Return visible sewn edges (of CN-continuity on one surface).
|
|
16187
|
+
*/
|
|
16188
|
+
RgNLineVCompound(): TopoDS_Shape;
|
|
16189
|
+
/**
|
|
16190
|
+
* Return visible sewn edges (of CN-continuity on one surface) of specified shape.
|
|
16191
|
+
*/
|
|
16192
|
+
RgNLineVCompound(S: TopoDS_Shape): TopoDS_Shape;
|
|
16193
|
+
/**
|
|
16194
|
+
* Return visible outline edges ("silhouette").
|
|
16195
|
+
*/
|
|
16196
|
+
OutLineVCompound(): TopoDS_Shape;
|
|
16197
|
+
/**
|
|
16198
|
+
* Return visible outline edges ("silhouette") of specified shape.
|
|
16199
|
+
*/
|
|
16200
|
+
OutLineVCompound(S: TopoDS_Shape): TopoDS_Shape;
|
|
16201
|
+
/**
|
|
16202
|
+
* Return visible outline edges ("silhouette").
|
|
16203
|
+
*/
|
|
16204
|
+
OutLineVCompound3d(): TopoDS_Shape;
|
|
16205
|
+
/**
|
|
16206
|
+
* Return visible isoparameters.
|
|
16207
|
+
*/
|
|
16208
|
+
IsoLineVCompound(): TopoDS_Shape;
|
|
16209
|
+
/**
|
|
16210
|
+
* Return visible isoparameters of specified shape.
|
|
16211
|
+
*/
|
|
16212
|
+
IsoLineVCompound(S: TopoDS_Shape): TopoDS_Shape;
|
|
16213
|
+
/**
|
|
16214
|
+
* Return hidden sharp edges (of C0-continuity).
|
|
16215
|
+
*/
|
|
16216
|
+
HCompound(): TopoDS_Shape;
|
|
16217
|
+
/**
|
|
16218
|
+
* Return hidden sharp edges (of C0-continuity) of specified shape.
|
|
16219
|
+
*/
|
|
16220
|
+
HCompound(S: TopoDS_Shape): TopoDS_Shape;
|
|
16221
|
+
/**
|
|
16222
|
+
* Return hidden smooth edges (G1-continuity between two surfaces).
|
|
16223
|
+
*/
|
|
16224
|
+
Rg1LineHCompound(): TopoDS_Shape;
|
|
16225
|
+
/**
|
|
16226
|
+
* Return hidden smooth edges (G1-continuity between two surfaces) of specified shape.
|
|
16227
|
+
*/
|
|
16228
|
+
Rg1LineHCompound(S: TopoDS_Shape): TopoDS_Shape;
|
|
16229
|
+
/**
|
|
16230
|
+
* Return hidden sewn edges (of CN-continuity on one surface).
|
|
16231
|
+
*/
|
|
16232
|
+
RgNLineHCompound(): TopoDS_Shape;
|
|
16233
|
+
/**
|
|
16234
|
+
* Return hidden sewn edges (of CN-continuity on one surface) of specified shape.
|
|
16235
|
+
*/
|
|
16236
|
+
RgNLineHCompound(S: TopoDS_Shape): TopoDS_Shape;
|
|
16237
|
+
/**
|
|
16238
|
+
* Return hidden outline edges ("silhouette").
|
|
16239
|
+
*/
|
|
16240
|
+
OutLineHCompound(): TopoDS_Shape;
|
|
16241
|
+
/**
|
|
16242
|
+
* Return hidden outline edges ("silhouette") of specified shape.
|
|
16243
|
+
*/
|
|
16244
|
+
OutLineHCompound(S: TopoDS_Shape): TopoDS_Shape;
|
|
16245
|
+
/**
|
|
16246
|
+
* Return hidden isoparameters.
|
|
16247
|
+
*/
|
|
16248
|
+
IsoLineHCompound(): TopoDS_Shape;
|
|
16249
|
+
/**
|
|
16250
|
+
* Return hidden isoparameters of specified shape.
|
|
16251
|
+
*/
|
|
16252
|
+
IsoLineHCompound(S: TopoDS_Shape): TopoDS_Shape;
|
|
16253
|
+
/**
|
|
16254
|
+
* Returns compound of resulting edges of required type and visibility, taking into account the kind of space (2d or 3d)
|
|
16255
|
+
*/
|
|
16256
|
+
CompoundOfEdges(type_: HLRBRep_TypeOfResultingEdge, visible: boolean, In3d: boolean): TopoDS_Shape;
|
|
16257
|
+
/**
|
|
16258
|
+
* For specified shape returns compound of resulting edges of required type and visibility, taking into account the kind of space (2d or 3d)
|
|
16259
|
+
*/
|
|
16260
|
+
CompoundOfEdges(S: TopoDS_Shape, type_: HLRBRep_TypeOfResultingEdge, visible: boolean, In3d: boolean): TopoDS_Shape;
|
|
16261
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
16262
|
+
delete(): void;
|
|
16263
|
+
[Symbol.dispose](): void;
|
|
16264
|
+
}
|
|
16265
|
+
|
|
16266
|
+
export declare class HLRBRep_InternalAlgo extends Standard_Transient {
|
|
16267
|
+
constructor();
|
|
16268
|
+
constructor(A: HLRBRep_InternalAlgo);
|
|
16269
|
+
// dropped: DataStructure return resolves to excluded type HLRBRep_Data
|
|
16270
|
+
/**
|
|
16271
|
+
* set the projector.
|
|
16272
|
+
*/
|
|
16273
|
+
Projector(P: HLRAlgo_Projector): void;
|
|
16274
|
+
/**
|
|
16275
|
+
* set the projector.
|
|
16276
|
+
*/
|
|
16277
|
+
Projector(): HLRAlgo_Projector;
|
|
16278
|
+
/**
|
|
16279
|
+
* update the DataStructure.
|
|
16280
|
+
*/
|
|
16281
|
+
Update(): void;
|
|
16282
|
+
/**
|
|
16283
|
+
* add the shape .
|
|
16284
|
+
*/
|
|
16285
|
+
Load(S: HLRTopoBRep_OutLiner, SData: Standard_Transient, nbIso: number): void;
|
|
16286
|
+
/**
|
|
16287
|
+
* add the shape .
|
|
16288
|
+
*/
|
|
16289
|
+
Load(S: HLRTopoBRep_OutLiner, nbIso: number): void;
|
|
16290
|
+
/**
|
|
16291
|
+
* return the index of the Shape and return 0 if the Shape is not found.
|
|
16292
|
+
*/
|
|
16293
|
+
Index(S: HLRTopoBRep_OutLiner): number;
|
|
16294
|
+
/**
|
|
16295
|
+
* remove the Shape of Index *.*
|
|
16296
|
+
*/
|
|
16297
|
+
Remove(I: number): void;
|
|
16298
|
+
/**
|
|
16299
|
+
* Change the Shape Data of the Shape of index *.*
|
|
16300
|
+
*/
|
|
16301
|
+
ShapeData(I: number, SData: Standard_Transient): void;
|
|
16302
|
+
SeqOfShapeBounds(): NCollection_Sequence_HLRBRep_ShapeBounds;
|
|
16303
|
+
NbShapes(): number;
|
|
16304
|
+
ShapeBounds(I: number): unknown;
|
|
16305
|
+
/**
|
|
16306
|
+
* init the status of the selected edges depending of the back faces of a closed shell.
|
|
16307
|
+
*/
|
|
16308
|
+
InitEdgeStatus(): void;
|
|
16309
|
+
/**
|
|
16310
|
+
* select all the DataStructure.
|
|
16311
|
+
*/
|
|
16312
|
+
Select(): void;
|
|
16313
|
+
/**
|
|
16314
|
+
* select only the Shape of index *.*
|
|
16315
|
+
*/
|
|
16316
|
+
Select(I: number): void;
|
|
16317
|
+
/**
|
|
16318
|
+
* select only the edges of the Shape .
|
|
16319
|
+
*/
|
|
16320
|
+
SelectEdge(I: number): void;
|
|
16321
|
+
/**
|
|
16322
|
+
* select only the faces of the Shape .
|
|
16323
|
+
*/
|
|
16324
|
+
SelectFace(I: number): void;
|
|
16325
|
+
/**
|
|
16326
|
+
* set to visible all the edges.
|
|
16327
|
+
*/
|
|
16328
|
+
ShowAll(): void;
|
|
16329
|
+
/**
|
|
16330
|
+
* set to visible all the edges of the Shape .
|
|
16331
|
+
*/
|
|
16332
|
+
ShowAll(I: number): void;
|
|
16333
|
+
/**
|
|
16334
|
+
* set to hide all the edges.
|
|
16335
|
+
*/
|
|
16336
|
+
HideAll(): void;
|
|
16337
|
+
/**
|
|
16338
|
+
* set to hide all the edges of the Shape .
|
|
16339
|
+
*/
|
|
16340
|
+
HideAll(I: number): void;
|
|
16341
|
+
/**
|
|
16342
|
+
* own hiding of all the shapes of the DataStructure without hiding by each other.
|
|
16343
|
+
*/
|
|
16344
|
+
PartialHide(): void;
|
|
16345
|
+
/**
|
|
16346
|
+
* hide all the DataStructure.
|
|
16347
|
+
*/
|
|
16348
|
+
Hide(): void;
|
|
16349
|
+
/**
|
|
16350
|
+
* hide the Shape by itself.
|
|
16351
|
+
*/
|
|
16352
|
+
Hide(I: number): void;
|
|
16353
|
+
/**
|
|
16354
|
+
* hide the Shape <S1> by the shape <S2>.
|
|
16355
|
+
*/
|
|
16356
|
+
Hide(I: number, J: number): void;
|
|
16357
|
+
Debug(deb: boolean): void;
|
|
16358
|
+
Debug(): boolean;
|
|
16359
|
+
static get_type_name(): string;
|
|
16360
|
+
static get_type_descriptor(): unknown;
|
|
16361
|
+
DynamicType(): unknown;
|
|
16362
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
16363
|
+
delete(): void;
|
|
16364
|
+
[Symbol.dispose](): void;
|
|
16365
|
+
}
|
|
16366
|
+
|
|
16367
|
+
export type HLRBRep_TypeOfResultingEdge = typeof HLRBRep_TypeOfResultingEdge[keyof typeof HLRBRep_TypeOfResultingEdge];
|
|
16368
|
+
/**
|
|
16369
|
+
* Identifies the type of resulting edge of {@link HLRBRep_Algo | `HLRBRep_Algo`}.
|
|
16370
|
+
*/
|
|
16371
|
+
export declare const HLRBRep_TypeOfResultingEdge: {
|
|
16372
|
+
readonly HLRBRep_Undefined: 'HLRBRep_Undefined';
|
|
16373
|
+
/**
|
|
16374
|
+
* isoparametric line
|
|
16375
|
+
*/
|
|
16376
|
+
readonly HLRBRep_IsoLine: 'HLRBRep_IsoLine';
|
|
16377
|
+
/**
|
|
16378
|
+
* outline ("silhouette")
|
|
16379
|
+
*/
|
|
16380
|
+
readonly HLRBRep_OutLine: 'HLRBRep_OutLine';
|
|
16381
|
+
/**
|
|
16382
|
+
* smooth edge of G1-continuity between two surfaces
|
|
16383
|
+
*/
|
|
16384
|
+
readonly HLRBRep_Rg1Line: 'HLRBRep_Rg1Line';
|
|
16385
|
+
/**
|
|
16386
|
+
* sewn edge of CN-continuity on one surface
|
|
16387
|
+
*/
|
|
16388
|
+
readonly HLRBRep_RgNLine: 'HLRBRep_RgNLine';
|
|
16389
|
+
/**
|
|
16390
|
+
* sharp edge (of C0-continuity)
|
|
16391
|
+
*/
|
|
16392
|
+
readonly HLRBRep_Sharp: 'HLRBRep_Sharp';
|
|
16393
|
+
};
|
|
16394
|
+
|
|
16395
|
+
export declare class HLRTopoBRep_OutLiner extends Standard_Transient {
|
|
16396
|
+
constructor();
|
|
16397
|
+
constructor(OriSh: TopoDS_Shape);
|
|
16398
|
+
constructor(OriS: TopoDS_Shape, OutS: TopoDS_Shape);
|
|
16399
|
+
OriginalShape(OriS: TopoDS_Shape): void;
|
|
16400
|
+
OriginalShape(): TopoDS_Shape;
|
|
16401
|
+
OutLinedShape(OutS: TopoDS_Shape): void;
|
|
16402
|
+
OutLinedShape(): TopoDS_Shape;
|
|
16403
|
+
DataStructure(): unknown;
|
|
16404
|
+
Fill(P: HLRAlgo_Projector, MST: NCollection_DataMap_TopoDS_Shape_BRepTopAdaptor_Tool_TopTools_ShapeMapHasher, nbIso: number): void;
|
|
16405
|
+
static get_type_name(): string;
|
|
16406
|
+
static get_type_descriptor(): unknown;
|
|
16407
|
+
DynamicType(): unknown;
|
|
16408
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
16409
|
+
delete(): void;
|
|
16410
|
+
[Symbol.dispose](): void;
|
|
16411
|
+
}
|
|
16412
|
+
|
|
16013
16413
|
/**
|
|
16014
16414
|
* Implementation of building helix wire Values of Error Status returned by algo: 0 - OK 1 - object is just initialized, it means that no input parameters were set 2 - approximation fails.
|
|
16015
16415
|
*
|
|
@@ -17779,6 +18179,47 @@ export declare class ShapeAnalysis_WireOrder {
|
|
|
17779
18179
|
[Symbol.dispose](): void;
|
|
17780
18180
|
}
|
|
17781
18181
|
|
|
18182
|
+
/**
|
|
18183
|
+
* This package is intended to convert geometrical objects and topological. The modifications of one geometrical object to another (one) geometrical object are provided.
|
|
18184
|
+
* The supported modifications are the following: conversion of BSpline and Bezier surfaces to analytical form, conversion of indirect elementary surfaces (with left-handed coordinate systems) into direct ones, conversion of elementary surfaces to surfaces of revolution, conversion of surface of linear extrusion, revolution, offset surface to bspline, modification of parameterization, degree, number of segments of bspline surfaces, scale the shape.
|
|
18185
|
+
*/
|
|
18186
|
+
export declare class ShapeCustom {
|
|
18187
|
+
constructor();
|
|
18188
|
+
/**
|
|
18189
|
+
* Applies modifier to shape and checks sharing in the case assemblies.
|
|
18190
|
+
* @param context Mutated in place; read the updated value from this argument after the call.
|
|
18191
|
+
*/
|
|
18192
|
+
static ApplyModifier(S: TopoDS_Shape, M: unknown, context: NCollection_DataMap_TopoDS_Shape_TopoDS_Shape_TopTools_ShapeMapHasher, MD: BRepTools_Modifier, theProgress: Message_ProgressRange, aReShape: unknown): TopoDS_Shape;
|
|
18193
|
+
/**
|
|
18194
|
+
* Returns a new shape without indirect surfaces.
|
|
18195
|
+
*/
|
|
18196
|
+
static DirectFaces(S: TopoDS_Shape): TopoDS_Shape;
|
|
18197
|
+
/**
|
|
18198
|
+
* Returns a new shape which is scaled original.
|
|
18199
|
+
*/
|
|
18200
|
+
static ScaleShape(S: TopoDS_Shape, scale: number): TopoDS_Shape;
|
|
18201
|
+
/**
|
|
18202
|
+
* Returns a new shape with all surfaces, curves and pcurves which type is BSpline/Bezier or based on them converted having Degree less than <MaxDegree> or number of spans less than <NbMaxSegment> in dependence on parameter priority <Degree>. <GmaxDegree> and <GMaxSegments> are maximum possible degree and number of spans correspondingly. These values will be used in those cases when approximation with specified parameters is impossible and one of GmaxDegree or GMaxSegments is selected in dependence on priority.
|
|
18203
|
+
* Note that even if approximation is impossible with <GMaxDegree> then number of spans can exceed specified <GMaxSegment> <Rational> specifies if to convert Rational BSpline/Bezier into polynomial B-Spline. If flags ConvOffSurf,ConvOffCurve3d,ConvOffCurve2d are true there are means that Offset surfaces , Offset curves 3d and Offset curves 2d are converted to BSPline correspondingly.
|
|
18204
|
+
*/
|
|
18205
|
+
static BSplineRestriction(S: TopoDS_Shape, Tol3d: number, Tol2d: number, MaxDegree: number, MaxNbSegment: number, Continuity3d: GeomAbs_Shape, Continuity2d: GeomAbs_Shape, Degree: boolean, Rational: boolean, aParameters: unknown): TopoDS_Shape;
|
|
18206
|
+
/**
|
|
18207
|
+
* Returns a new shape with all elementary periodic surfaces converted to {@link Geom_SurfaceOfRevolution | `Geom_SurfaceOfRevolution`}.
|
|
18208
|
+
*/
|
|
18209
|
+
static ConvertToRevolution(S: TopoDS_Shape): TopoDS_Shape;
|
|
18210
|
+
/**
|
|
18211
|
+
* Returns a new shape with all surfaces of revolution and linear extrusion convert to elementary periodic surfaces.
|
|
18212
|
+
*/
|
|
18213
|
+
static SweptToElementary(S: TopoDS_Shape): TopoDS_Shape;
|
|
18214
|
+
/**
|
|
18215
|
+
* Returns a new shape with all surfaces of linear extrusion, revolution, offset, and planar surfaces converted according to flags to {@link Geom_BSplineSurface | `Geom_BSplineSurface`} (with same parameterisation).
|
|
18216
|
+
*/
|
|
18217
|
+
static ConvertToBSpline(S: TopoDS_Shape, extrMode: boolean, revolMode: boolean, offsetMode: boolean, planeMode?: boolean): TopoDS_Shape;
|
|
18218
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
18219
|
+
delete(): void;
|
|
18220
|
+
[Symbol.dispose](): void;
|
|
18221
|
+
}
|
|
18222
|
+
|
|
17782
18223
|
/**
|
|
17783
18224
|
* This class provides a data structure necessary for work with the wire as with ordered list of edges, what is required for many algorithms. The advantage of this class is that it allows to work with wires which are not correct.
|
|
17784
18225
|
* The object of the class {@link ShapeExtend_WireData | `ShapeExtend_WireData`} can be initialized by {@link TopoDS_Wire | `TopoDS_Wire`}, and converted back to {@link TopoDS_Wire | `TopoDS_Wire`}. An edge in the wire is defined by its rank number. Operations of accessing, adding and removing edge at the given rank number are provided.
|
|
@@ -21507,6 +21948,51 @@ export declare const BRepTools_History_TRelationType: {
|
|
|
21507
21948
|
readonly TRelationType_Modified: 'TRelationType_Modified';
|
|
21508
21949
|
};
|
|
21509
21950
|
|
|
21951
|
+
/**
|
|
21952
|
+
* Performs geometric modifications on a shape.
|
|
21953
|
+
*/
|
|
21954
|
+
export declare class BRepTools_Modifier {
|
|
21955
|
+
/**
|
|
21956
|
+
* Creates an empty Modifier.
|
|
21957
|
+
*/
|
|
21958
|
+
constructor(theMutableInput?: boolean);
|
|
21959
|
+
/**
|
|
21960
|
+
* Creates a modifier on the shape .
|
|
21961
|
+
*/
|
|
21962
|
+
constructor(S: TopoDS_Shape);
|
|
21963
|
+
/**
|
|
21964
|
+
* Creates a modifier on the shape , and performs the modifications described by <M>.
|
|
21965
|
+
*/
|
|
21966
|
+
constructor(S: TopoDS_Shape, M: unknown);
|
|
21967
|
+
/**
|
|
21968
|
+
* Initializes the modifier with the shape .
|
|
21969
|
+
*/
|
|
21970
|
+
Init(S: TopoDS_Shape): void;
|
|
21971
|
+
/**
|
|
21972
|
+
* Performs the modifications described by <M>.
|
|
21973
|
+
*/
|
|
21974
|
+
Perform(M: unknown, theProgress?: Message_ProgressRange): void;
|
|
21975
|
+
/**
|
|
21976
|
+
* Returns true if the modification has been computed successfully.
|
|
21977
|
+
*/
|
|
21978
|
+
IsDone(): boolean;
|
|
21979
|
+
/**
|
|
21980
|
+
* Returns the current mutable input state.
|
|
21981
|
+
*/
|
|
21982
|
+
IsMutableInput(): boolean;
|
|
21983
|
+
/**
|
|
21984
|
+
* Sets the mutable input state If true then the input (original) shape can be modified during modification process.
|
|
21985
|
+
*/
|
|
21986
|
+
SetMutableInput(theMutableInput: boolean): void;
|
|
21987
|
+
/**
|
|
21988
|
+
* Returns the modified shape corresponding to .
|
|
21989
|
+
*/
|
|
21990
|
+
ModifiedShape(S: TopoDS_Shape): TopoDS_Shape;
|
|
21991
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
21992
|
+
delete(): void;
|
|
21993
|
+
[Symbol.dispose](): void;
|
|
21994
|
+
}
|
|
21995
|
+
|
|
21510
21996
|
/**
|
|
21511
21997
|
* The WireExplorer is a tool to explore the edges of a wire in a connection order.
|
|
21512
21998
|
*
|
|
@@ -33635,6 +34121,113 @@ export declare class NCollection_DataMap_TDF_Label_TDF_Label extends NCollection
|
|
|
33635
34121
|
[Symbol.dispose](): void;
|
|
33636
34122
|
}
|
|
33637
34123
|
|
|
34124
|
+
/**
|
|
34125
|
+
* Purpose: The DataMap is a Map to store keys with associated Items. See Map from NCollection for a discussion about the number of buckets.
|
|
34126
|
+
*
|
|
34127
|
+
* The DataMap can be seen as an extended array where the Keys are the indices. For this reason the operator () is defined on DataMap to fetch an Item from a Key. So the following syntax can be used :
|
|
34128
|
+
*
|
|
34129
|
+
* anItem = aMap(aKey); aMap(aKey) = anItem;
|
|
34130
|
+
*
|
|
34131
|
+
* This analogy has its limit. aMap(aKey) = anItem can be done only if aKey was previously bound to an item in the map.
|
|
34132
|
+
*/
|
|
34133
|
+
export declare class NCollection_DataMap_TopoDS_Shape_BRepTopAdaptor_Tool_TopTools_ShapeMapHasher extends NCollection_BaseMap {
|
|
34134
|
+
/**
|
|
34135
|
+
* Empty Constructor.
|
|
34136
|
+
*/
|
|
34137
|
+
constructor();
|
|
34138
|
+
/**
|
|
34139
|
+
* Copy constructor.
|
|
34140
|
+
*/
|
|
34141
|
+
constructor(theOther: NCollection_DataMap_TopoDS_Shape_BRepTopAdaptor_Tool_TopTools_ShapeMapHasher);
|
|
34142
|
+
/**
|
|
34143
|
+
* Constructor.
|
|
34144
|
+
*/
|
|
34145
|
+
constructor(theNbBuckets: number, theAllocator?: unknown);
|
|
34146
|
+
/**
|
|
34147
|
+
* Constructor with custom hasher (copy).
|
|
34148
|
+
* @param theHasher custom hasher instance
|
|
34149
|
+
* @param theNbBuckets initial number of buckets
|
|
34150
|
+
* @param theAllocator custom memory allocator
|
|
34151
|
+
*/
|
|
34152
|
+
constructor(theHasher: unknown, theNbBuckets?: number, theAllocator?: unknown);
|
|
34153
|
+
/**
|
|
34154
|
+
* Exchange the content of two maps without re-allocations. Notice that allocators will be swapped as well!
|
|
34155
|
+
* @param theOther Mutated in place; read the updated value from this argument after the call.
|
|
34156
|
+
*/
|
|
34157
|
+
Exchange(theOther: NCollection_DataMap_TopoDS_Shape_BRepTopAdaptor_Tool_TopTools_ShapeMapHasher): void;
|
|
34158
|
+
/**
|
|
34159
|
+
* Returns const reference to the hasher.
|
|
34160
|
+
*/
|
|
34161
|
+
GetHasher(): unknown;
|
|
34162
|
+
/**
|
|
34163
|
+
* Assignment. This method does not change the internal allocator.
|
|
34164
|
+
*/
|
|
34165
|
+
Assign(theOther: NCollection_DataMap_TopoDS_Shape_BRepTopAdaptor_Tool_TopTools_ShapeMapHasher): NCollection_DataMap_TopoDS_Shape_BRepTopAdaptor_Tool_TopTools_ShapeMapHasher;
|
|
34166
|
+
/**
|
|
34167
|
+
* ReSize.
|
|
34168
|
+
*/
|
|
34169
|
+
ReSize(N: number): void;
|
|
34170
|
+
/**
|
|
34171
|
+
* Bind binds Item to Key in map.
|
|
34172
|
+
* @param theKey key to add/update
|
|
34173
|
+
* @param theItem new item; overrides value previously bound to the key (uses destroy+reconstruct)
|
|
34174
|
+
* @returns true if Key was not bound already
|
|
34175
|
+
*/
|
|
34176
|
+
Bind(theKey: TopoDS_Shape, theItem: unknown): boolean;
|
|
34177
|
+
/**
|
|
34178
|
+
* Bound binds Item to Key in map.
|
|
34179
|
+
* @param theKey key to add/update
|
|
34180
|
+
* @param theItem new item; overrides value previously bound to the key (uses destroy+reconstruct)
|
|
34181
|
+
* @returns pointer to modifiable Item
|
|
34182
|
+
*/
|
|
34183
|
+
Bound(theKey: TopoDS_Shape, theItem: unknown): unknown;
|
|
34184
|
+
/**
|
|
34185
|
+
* TryBind binds Item to Key in map only if Key is not yet bound.
|
|
34186
|
+
* @param theKey key to add
|
|
34187
|
+
* @param theItem item to bind if Key is not yet bound
|
|
34188
|
+
* @returns true if Key was newly bound, false if Key already existed (no replacement)
|
|
34189
|
+
*/
|
|
34190
|
+
TryBind(theKey: TopoDS_Shape, theItem: unknown): boolean;
|
|
34191
|
+
/**
|
|
34192
|
+
* TryBound binds Item to Key in map only if Key is not yet bound.
|
|
34193
|
+
* @param theKey key to add
|
|
34194
|
+
* @param theItem item to bind if Key is not yet bound
|
|
34195
|
+
* @returns reference to existing or newly bound Item
|
|
34196
|
+
*/
|
|
34197
|
+
TryBound(theKey: TopoDS_Shape, theItem: unknown): unknown;
|
|
34198
|
+
/**
|
|
34199
|
+
* IsBound.
|
|
34200
|
+
*/
|
|
34201
|
+
IsBound(theKey: TopoDS_Shape): boolean;
|
|
34202
|
+
/**
|
|
34203
|
+
* UnBind removes Item Key pair from map.
|
|
34204
|
+
*/
|
|
34205
|
+
UnBind(theKey: TopoDS_Shape): boolean;
|
|
34206
|
+
/**
|
|
34207
|
+
* Seek returns pointer to Item by Key. Returns NULL is Key was not bound.
|
|
34208
|
+
*/
|
|
34209
|
+
Seek(theKey: TopoDS_Shape): unknown;
|
|
34210
|
+
/**
|
|
34211
|
+
* ChangeSeek returns modifiable pointer to Item by Key. Returns NULL is Key was not bound.
|
|
34212
|
+
*/
|
|
34213
|
+
ChangeSeek(theKey: TopoDS_Shape): unknown;
|
|
34214
|
+
/**
|
|
34215
|
+
* ChangeFind returns modifiable Item by Key. Raises if Key was not bound.
|
|
34216
|
+
*/
|
|
34217
|
+
ChangeFind(theKey: TopoDS_Shape): unknown;
|
|
34218
|
+
/**
|
|
34219
|
+
* Clear data. If doReleaseMemory is false then the table of buckets is not released and will be reused.
|
|
34220
|
+
*/
|
|
34221
|
+
Clear(doReleaseMemory: boolean): void;
|
|
34222
|
+
/**
|
|
34223
|
+
* Clear data and reset allocator.
|
|
34224
|
+
*/
|
|
34225
|
+
Clear(theAllocator: unknown): void;
|
|
34226
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
34227
|
+
delete(): void;
|
|
34228
|
+
[Symbol.dispose](): void;
|
|
34229
|
+
}
|
|
34230
|
+
|
|
33638
34231
|
/**
|
|
33639
34232
|
* Purpose: The DataMap is a Map to store keys with associated Items. See Map from NCollection for a discussion about the number of buckets.
|
|
33640
34233
|
*
|
|
@@ -38301,6 +38894,141 @@ export declare class NCollection_Sequence_Extrema_POnCurv extends NCollection_Ba
|
|
|
38301
38894
|
[Symbol.dispose](): void;
|
|
38302
38895
|
}
|
|
38303
38896
|
|
|
38897
|
+
/**
|
|
38898
|
+
* Purpose: Definition of a sequence of elements indexed by an Integer in range of 1..n
|
|
38899
|
+
*/
|
|
38900
|
+
export declare class NCollection_Sequence_HLRBRep_ShapeBounds extends NCollection_BaseSequence {
|
|
38901
|
+
/**
|
|
38902
|
+
* Empty constructor.
|
|
38903
|
+
*/
|
|
38904
|
+
constructor();
|
|
38905
|
+
/**
|
|
38906
|
+
* Constructor.
|
|
38907
|
+
*/
|
|
38908
|
+
constructor(theAllocator: unknown);
|
|
38909
|
+
/**
|
|
38910
|
+
* Copy constructor.
|
|
38911
|
+
*/
|
|
38912
|
+
constructor(theOther: NCollection_Sequence_HLRBRep_ShapeBounds);
|
|
38913
|
+
// dropped: delNode param 0 resolves to excluded type NCollection_SeqNode
|
|
38914
|
+
/**
|
|
38915
|
+
* Method for consistency with other collections.
|
|
38916
|
+
* @returns Lower bound (inclusive) for iteration.
|
|
38917
|
+
*/
|
|
38918
|
+
static Lower(): number;
|
|
38919
|
+
/**
|
|
38920
|
+
* Method for consistency with other collections.
|
|
38921
|
+
* @returns Upper bound (inclusive) for iteration.
|
|
38922
|
+
*/
|
|
38923
|
+
Upper(): number;
|
|
38924
|
+
/**
|
|
38925
|
+
* Empty query.
|
|
38926
|
+
*/
|
|
38927
|
+
IsEmpty(): boolean;
|
|
38928
|
+
/**
|
|
38929
|
+
* Reverse sequence.
|
|
38930
|
+
*/
|
|
38931
|
+
Reverse(): void;
|
|
38932
|
+
/**
|
|
38933
|
+
* Exchange two members.
|
|
38934
|
+
*/
|
|
38935
|
+
Exchange(I: number, J: number): void;
|
|
38936
|
+
/**
|
|
38937
|
+
* Clear the items out, take a new allocator if non null.
|
|
38938
|
+
*/
|
|
38939
|
+
Clear(theAllocator?: unknown): void;
|
|
38940
|
+
/**
|
|
38941
|
+
* Replace this sequence by the items of theOther. This method does not change the internal allocator.
|
|
38942
|
+
*/
|
|
38943
|
+
Assign(theOther: NCollection_Sequence_HLRBRep_ShapeBounds): NCollection_Sequence_HLRBRep_ShapeBounds;
|
|
38944
|
+
/**
|
|
38945
|
+
* Remove one item.
|
|
38946
|
+
*/
|
|
38947
|
+
Remove(theIndex: number): void;
|
|
38948
|
+
/**
|
|
38949
|
+
* Remove range of items.
|
|
38950
|
+
*/
|
|
38951
|
+
Remove(theFromIndex: number, theToIndex: number): void;
|
|
38952
|
+
/**
|
|
38953
|
+
* Append one item.
|
|
38954
|
+
*/
|
|
38955
|
+
Append(theItem: unknown): void;
|
|
38956
|
+
/**
|
|
38957
|
+
* Append one item.
|
|
38958
|
+
* @param theSeq Mutated in place; read the updated value from this argument after the call.
|
|
38959
|
+
*/
|
|
38960
|
+
Append(theSeq: NCollection_Sequence_HLRBRep_ShapeBounds): void;
|
|
38961
|
+
/**
|
|
38962
|
+
* Prepend one item.
|
|
38963
|
+
*/
|
|
38964
|
+
Prepend(theItem: unknown): void;
|
|
38965
|
+
/**
|
|
38966
|
+
* Prepend one item.
|
|
38967
|
+
* @param theSeq Mutated in place; read the updated value from this argument after the call.
|
|
38968
|
+
*/
|
|
38969
|
+
Prepend(theSeq: NCollection_Sequence_HLRBRep_ShapeBounds): void;
|
|
38970
|
+
/**
|
|
38971
|
+
* InsertBefore theIndex theItem.
|
|
38972
|
+
*/
|
|
38973
|
+
InsertBefore(theIndex: number, theItem: unknown): void;
|
|
38974
|
+
InsertBefore(theIndex: number, theSeq: NCollection_Sequence_HLRBRep_ShapeBounds): void;
|
|
38975
|
+
/**
|
|
38976
|
+
* InsertAfter the position of iterator.
|
|
38977
|
+
* @param theSeq Mutated in place; read the updated value from this argument after the call.
|
|
38978
|
+
*/
|
|
38979
|
+
InsertAfter(theIndex: number, theSeq: NCollection_Sequence_HLRBRep_ShapeBounds): void;
|
|
38980
|
+
/**
|
|
38981
|
+
* InsertAfter the position of iterator.
|
|
38982
|
+
*/
|
|
38983
|
+
InsertAfter(theIndex: number, theItem: unknown): void;
|
|
38984
|
+
/**
|
|
38985
|
+
* Split in two sequences.
|
|
38986
|
+
* @param theSeq Mutated in place; read the updated value from this argument after the call.
|
|
38987
|
+
*/
|
|
38988
|
+
Split(theIndex: number, theSeq: NCollection_Sequence_HLRBRep_ShapeBounds): void;
|
|
38989
|
+
/**
|
|
38990
|
+
* First item access.
|
|
38991
|
+
*/
|
|
38992
|
+
First(): unknown;
|
|
38993
|
+
/**
|
|
38994
|
+
* First item access.
|
|
38995
|
+
*/
|
|
38996
|
+
ChangeFirst(): unknown;
|
|
38997
|
+
/**
|
|
38998
|
+
* Last item access.
|
|
38999
|
+
*/
|
|
39000
|
+
Last(): unknown;
|
|
39001
|
+
/**
|
|
39002
|
+
* Last item access.
|
|
39003
|
+
*/
|
|
39004
|
+
ChangeLast(): unknown;
|
|
39005
|
+
/**
|
|
39006
|
+
* Constant item access by theIndex.
|
|
39007
|
+
*/
|
|
39008
|
+
Value(theIndex: number): unknown;
|
|
39009
|
+
/**
|
|
39010
|
+
* Variable item access by theIndex.
|
|
39011
|
+
*/
|
|
39012
|
+
ChangeValue(theIndex: number): unknown;
|
|
39013
|
+
/**
|
|
39014
|
+
* Set item value by theIndex.
|
|
39015
|
+
*/
|
|
39016
|
+
SetValue(theIndex: number, theItem: unknown): void;
|
|
39017
|
+
/**
|
|
39018
|
+
* 0-based checked access independent of `Lower()`/Upper().
|
|
39019
|
+
* @param theIndex 0-based index in [0, `Size()`-1]
|
|
39020
|
+
*/
|
|
39021
|
+
At(theIndex: number): unknown;
|
|
39022
|
+
/**
|
|
39023
|
+
* 0-based checked mutable access independent of `Lower()`/Upper().
|
|
39024
|
+
* @param theIndex 0-based index in [0, `Size()`-1]
|
|
39025
|
+
*/
|
|
39026
|
+
ChangeAt(theIndex: number): unknown;
|
|
39027
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
39028
|
+
delete(): void;
|
|
39029
|
+
[Symbol.dispose](): void;
|
|
39030
|
+
}
|
|
39031
|
+
|
|
38304
39032
|
/**
|
|
38305
39033
|
* Purpose: Definition of a sequence of elements indexed by an Integer in range of 1..n
|
|
38306
39034
|
*/
|
|
@@ -41052,6 +41780,14 @@ export declare class BRep_ToolExt {
|
|
|
41052
41780
|
[Symbol.dispose](): void;
|
|
41053
41781
|
}
|
|
41054
41782
|
|
|
41783
|
+
export declare class ShapeCustomExt {
|
|
41784
|
+
constructor();
|
|
41785
|
+
static DirectFaces(S: TopoDS_Shape, MD: BRepTools_Modifier): TopoDS_Shape;
|
|
41786
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
41787
|
+
delete(): void;
|
|
41788
|
+
[Symbol.dispose](): void;
|
|
41789
|
+
}
|
|
41790
|
+
|
|
41055
41791
|
/**
|
|
41056
41792
|
* Indexed map of ASCII string key-value pairs.
|
|
41057
41793
|
*
|
|
@@ -41756,9 +42492,11 @@ export type BOPDS_VectorOfInterfVV = NCollection_DynamicArray_BOPDS_InterfVV;
|
|
|
41756
42492
|
export type BOPDS_VectorOfInterfVZ = NCollection_DynamicArray_BOPDS_InterfVZ;
|
|
41757
42493
|
export type BOPDS_VectorOfInterfZZ = NCollection_DynamicArray_BOPDS_InterfZZ;
|
|
41758
42494
|
export type BRepCheck_ListOfStatus = NCollection_List_BRepCheck_Status;
|
|
42495
|
+
export type BRepTopAdaptor_MapOfShapeTool = NCollection_DataMap_TopoDS_Shape_BRepTopAdaptor_Tool_TopTools_ShapeMapHasher;
|
|
41759
42496
|
export type ChFiDS_SecArray1 = NCollection_Array1_ChFiDS_CircSection;
|
|
41760
42497
|
export type ChFiDS_SecHArray1 = NCollection_HArray1_ChFiDS_CircSection;
|
|
41761
42498
|
export type Extrema_SequenceOfPOnCurv = NCollection_Sequence_Extrema_POnCurv;
|
|
42499
|
+
export type HLRBRep_SeqOfShapeBounds = NCollection_Sequence_HLRBRep_ShapeBounds;
|
|
41762
42500
|
export type IntRes2d_SequenceOfIntersectionPoint = NCollection_Sequence_IntRes2d_IntersectionPoint;
|
|
41763
42501
|
export type IntSurf_ListOfPntOn2S = NCollection_List_IntSurf_PntOn2S;
|
|
41764
42502
|
export type IntTools_ListOfSurfaceRangeSample = NCollection_List_IntTools_SurfaceRangeSample;
|
|
@@ -41993,6 +42731,12 @@ export type OpenCascadeInstance = {
|
|
|
41993
42731
|
Geom2dGcc_QualifiedCurve: typeof Geom2dGcc_QualifiedCurve;
|
|
41994
42732
|
GeomAPI: typeof GeomAPI;
|
|
41995
42733
|
Law_Function: typeof Law_Function;
|
|
42734
|
+
HLRAlgo_Projector: typeof HLRAlgo_Projector;
|
|
42735
|
+
HLRBRep_Algo: typeof HLRBRep_Algo;
|
|
42736
|
+
HLRBRep_HLRToShape: typeof HLRBRep_HLRToShape;
|
|
42737
|
+
HLRBRep_InternalAlgo: typeof HLRBRep_InternalAlgo;
|
|
42738
|
+
HLRBRep_TypeOfResultingEdge: typeof HLRBRep_TypeOfResultingEdge;
|
|
42739
|
+
HLRTopoBRep_OutLiner: typeof HLRTopoBRep_OutLiner;
|
|
41996
42740
|
HelixBRep_BuilderHelix: typeof HelixBRep_BuilderHelix;
|
|
41997
42741
|
HelixGeom_BuilderApproxCurve: typeof HelixGeom_BuilderApproxCurve;
|
|
41998
42742
|
HelixGeom_BuilderHelix: typeof HelixGeom_BuilderHelix;
|
|
@@ -42023,6 +42767,7 @@ export type OpenCascadeInstance = {
|
|
|
42023
42767
|
BRepSweep_Revol: typeof BRepSweep_Revol;
|
|
42024
42768
|
ShapeAnalysis_FreeBounds: typeof ShapeAnalysis_FreeBounds;
|
|
42025
42769
|
ShapeAnalysis_WireOrder: typeof ShapeAnalysis_WireOrder;
|
|
42770
|
+
ShapeCustom: typeof ShapeCustom;
|
|
42026
42771
|
ShapeExtend_WireData: typeof ShapeExtend_WireData;
|
|
42027
42772
|
ShapeFix_Face: typeof ShapeFix_Face;
|
|
42028
42773
|
ShapeFix_Root: typeof ShapeFix_Root;
|
|
@@ -42065,6 +42810,7 @@ export type OpenCascadeInstance = {
|
|
|
42065
42810
|
BRepTools: typeof BRepTools;
|
|
42066
42811
|
BRepTools_History: typeof BRepTools_History;
|
|
42067
42812
|
BRepTools_History_TRelationType: typeof BRepTools_History_TRelationType;
|
|
42813
|
+
BRepTools_Modifier: typeof BRepTools_Modifier;
|
|
42068
42814
|
BRepTools_WireExplorer: typeof BRepTools_WireExplorer;
|
|
42069
42815
|
TopExp: typeof TopExp;
|
|
42070
42816
|
TopExp_Explorer: typeof TopExp_Explorer;
|
|
@@ -42177,6 +42923,7 @@ export type OpenCascadeInstance = {
|
|
|
42177
42923
|
NCollection_DataMap_TCollection_ExtendedString_handle_NCollection_HArray1_int: typeof NCollection_DataMap_TCollection_ExtendedString_handle_NCollection_HArray1_int;
|
|
42178
42924
|
NCollection_DataMap_TCollection_ExtendedString_int: typeof NCollection_DataMap_TCollection_ExtendedString_int;
|
|
42179
42925
|
NCollection_DataMap_TDF_Label_TDF_Label: typeof NCollection_DataMap_TDF_Label_TDF_Label;
|
|
42926
|
+
NCollection_DataMap_TopoDS_Shape_BRepTopAdaptor_Tool_TopTools_ShapeMapHasher: typeof NCollection_DataMap_TopoDS_Shape_BRepTopAdaptor_Tool_TopTools_ShapeMapHasher;
|
|
42180
42927
|
NCollection_DataMap_TopoDS_Shape_NCollection_List_TopoDS_Shape_TopTools_ShapeMapHasher: typeof NCollection_DataMap_TopoDS_Shape_NCollection_List_TopoDS_Shape_TopTools_ShapeMapHasher;
|
|
42181
42928
|
NCollection_DataMap_TopoDS_Shape_TDF_Label_TopTools_ShapeMapHasher: typeof NCollection_DataMap_TopoDS_Shape_TDF_Label_TopTools_ShapeMapHasher;
|
|
42182
42929
|
NCollection_DataMap_TopoDS_Shape_TopoDS_Shape_TopTools_ShapeMapHasher: typeof NCollection_DataMap_TopoDS_Shape_TopoDS_Shape_TopTools_ShapeMapHasher;
|
|
@@ -42239,6 +42986,7 @@ export type OpenCascadeInstance = {
|
|
|
42239
42986
|
NCollection_Map_handle_TDF_Attribute: typeof NCollection_Map_handle_TDF_Attribute;
|
|
42240
42987
|
NCollection_Map_int: typeof NCollection_Map_int;
|
|
42241
42988
|
NCollection_Sequence_Extrema_POnCurv: typeof NCollection_Sequence_Extrema_POnCurv;
|
|
42989
|
+
NCollection_Sequence_HLRBRep_ShapeBounds: typeof NCollection_Sequence_HLRBRep_ShapeBounds;
|
|
42242
42990
|
NCollection_Sequence_IntRes2d_IntersectionPoint: typeof NCollection_Sequence_IntRes2d_IntersectionPoint;
|
|
42243
42991
|
NCollection_Sequence_IntTools_CommonPrt: typeof NCollection_Sequence_IntTools_CommonPrt;
|
|
42244
42992
|
NCollection_Sequence_IntTools_Curve: typeof NCollection_Sequence_IntTools_Curve;
|
|
@@ -42260,6 +43008,7 @@ export type OpenCascadeInstance = {
|
|
|
42260
43008
|
math_VectorBase_double: typeof math_VectorBase_double;
|
|
42261
43009
|
NCollection_DataMap_TCollection_ExtendedString_unsignedchar: typeof NCollection_DataMap_TCollection_ExtendedString_unsignedchar;
|
|
42262
43010
|
BRep_ToolExt: typeof BRep_ToolExt;
|
|
43011
|
+
ShapeCustomExt: typeof ShapeCustomExt;
|
|
42263
43012
|
TColStd_IndexedDataMapOfStringString: typeof TColStd_IndexedDataMapOfStringString;
|
|
42264
43013
|
TopoDS: typeof TopoDS;
|
|
42265
43014
|
OCJS: typeof OCJS;
|
|
@@ -42279,9 +43028,11 @@ export type OpenCascadeInstance = {
|
|
|
42279
43028
|
/* deprecated-name alias */ BOPDS_VectorOfInterfVZ: typeof NCollection_DynamicArray_BOPDS_InterfVZ;
|
|
42280
43029
|
/* deprecated-name alias */ BOPDS_VectorOfInterfZZ: typeof NCollection_DynamicArray_BOPDS_InterfZZ;
|
|
42281
43030
|
/* deprecated-name alias */ BRepCheck_ListOfStatus: typeof NCollection_List_BRepCheck_Status;
|
|
43031
|
+
/* deprecated-name alias */ BRepTopAdaptor_MapOfShapeTool: typeof NCollection_DataMap_TopoDS_Shape_BRepTopAdaptor_Tool_TopTools_ShapeMapHasher;
|
|
42282
43032
|
/* deprecated-name alias */ ChFiDS_SecArray1: typeof NCollection_Array1_ChFiDS_CircSection;
|
|
42283
43033
|
/* deprecated-name alias */ ChFiDS_SecHArray1: typeof NCollection_HArray1_ChFiDS_CircSection;
|
|
42284
43034
|
/* deprecated-name alias */ Extrema_SequenceOfPOnCurv: typeof NCollection_Sequence_Extrema_POnCurv;
|
|
43035
|
+
/* deprecated-name alias */ HLRBRep_SeqOfShapeBounds: typeof NCollection_Sequence_HLRBRep_ShapeBounds;
|
|
42285
43036
|
/* deprecated-name alias */ IntRes2d_SequenceOfIntersectionPoint: typeof NCollection_Sequence_IntRes2d_IntersectionPoint;
|
|
42286
43037
|
/* deprecated-name alias */ IntSurf_ListOfPntOn2S: typeof NCollection_List_IntSurf_PntOn2S;
|
|
42287
43038
|
/* deprecated-name alias */ IntTools_ListOfSurfaceRangeSample: typeof NCollection_List_IntTools_SurfaceRangeSample;
|
|
@@ -42372,9 +43123,11 @@ export type BOPDS_VectorOfInterfVV = NCollection_DynamicArray_BOPDS_InterfVV;
|
|
|
42372
43123
|
export type BOPDS_VectorOfInterfVZ = NCollection_DynamicArray_BOPDS_InterfVZ;
|
|
42373
43124
|
export type BOPDS_VectorOfInterfZZ = NCollection_DynamicArray_BOPDS_InterfZZ;
|
|
42374
43125
|
export type BRepCheck_ListOfStatus = NCollection_List_BRepCheck_Status;
|
|
43126
|
+
export type BRepTopAdaptor_MapOfShapeTool = NCollection_DataMap_TopoDS_Shape_BRepTopAdaptor_Tool_TopTools_ShapeMapHasher;
|
|
42375
43127
|
export type ChFiDS_SecArray1 = NCollection_Array1_ChFiDS_CircSection;
|
|
42376
43128
|
export type ChFiDS_SecHArray1 = NCollection_HArray1_ChFiDS_CircSection;
|
|
42377
43129
|
export type Extrema_SequenceOfPOnCurv = NCollection_Sequence_Extrema_POnCurv;
|
|
43130
|
+
export type HLRBRep_SeqOfShapeBounds = NCollection_Sequence_HLRBRep_ShapeBounds;
|
|
42378
43131
|
export type IntRes2d_SequenceOfIntersectionPoint = NCollection_Sequence_IntRes2d_IntersectionPoint;
|
|
42379
43132
|
export type IntSurf_ListOfPntOn2S = NCollection_List_IntSurf_PntOn2S;
|
|
42380
43133
|
export type IntTools_ListOfSurfaceRangeSample = NCollection_List_IntTools_SurfaceRangeSample;
|