ocjs-fluidcad 1.0.0 → 1.2.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 +83 -0
- package/dist/aliases.generated.json +80 -0
- package/dist/opencascade.fluidcad.multi-threaded.build-manifest.json +6 -4
- package/dist/opencascade.fluidcad.multi-threaded.d.ts +100 -0
- package/dist/opencascade.fluidcad.multi-threaded.js.symbols +28098 -28072
- package/dist/opencascade.fluidcad.multi-threaded.provenance.json +16 -14
- package/dist/opencascade.fluidcad.multi-threaded.wasm +0 -0
- package/package.json +3 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/gen-aliases.mjs — DO NOT EDIT.
|
|
2
|
+
// Source: ncollection-manifest.json (ncollection-manifest-v2), 78 aliases whose canonical is present in opencascade.fluidcad.multi-threaded.d.ts.
|
|
3
|
+
// Maps deprecated OCCT type names -> OCCT V8 canonical (mangled) class names.
|
|
4
|
+
export default {
|
|
5
|
+
"BOPDS_ListOfPave": "NCollection_List_BOPDS_Pave",
|
|
6
|
+
"BOPDS_VectorOfFaceInfo": "NCollection_DynamicArray_BOPDS_FaceInfo",
|
|
7
|
+
"BOPDS_VectorOfInterfEE": "NCollection_DynamicArray_BOPDS_InterfEE",
|
|
8
|
+
"BOPDS_VectorOfInterfEF": "NCollection_DynamicArray_BOPDS_InterfEF",
|
|
9
|
+
"BOPDS_VectorOfInterfEZ": "NCollection_DynamicArray_BOPDS_InterfEZ",
|
|
10
|
+
"BOPDS_VectorOfInterfFF": "NCollection_DynamicArray_BOPDS_InterfFF",
|
|
11
|
+
"BOPDS_VectorOfInterfFZ": "NCollection_DynamicArray_BOPDS_InterfFZ",
|
|
12
|
+
"BOPDS_VectorOfInterfVE": "NCollection_DynamicArray_BOPDS_InterfVE",
|
|
13
|
+
"BOPDS_VectorOfInterfVF": "NCollection_DynamicArray_BOPDS_InterfVF",
|
|
14
|
+
"BOPDS_VectorOfInterfVV": "NCollection_DynamicArray_BOPDS_InterfVV",
|
|
15
|
+
"BOPDS_VectorOfInterfVZ": "NCollection_DynamicArray_BOPDS_InterfVZ",
|
|
16
|
+
"BOPDS_VectorOfInterfZZ": "NCollection_DynamicArray_BOPDS_InterfZZ",
|
|
17
|
+
"BRepCheck_ListOfStatus": "NCollection_List_BRepCheck_Status",
|
|
18
|
+
"ChFiDS_SecArray1": "NCollection_Array1_ChFiDS_CircSection",
|
|
19
|
+
"ChFiDS_SecHArray1": "NCollection_HArray1_ChFiDS_CircSection",
|
|
20
|
+
"Extrema_SequenceOfPOnCurv": "NCollection_Sequence_Extrema_POnCurv",
|
|
21
|
+
"IntRes2d_SequenceOfIntersectionPoint": "NCollection_Sequence_IntRes2d_IntersectionPoint",
|
|
22
|
+
"IntSurf_ListOfPntOn2S": "NCollection_List_IntSurf_PntOn2S",
|
|
23
|
+
"IntTools_ListOfSurfaceRangeSample": "NCollection_List_IntTools_SurfaceRangeSample",
|
|
24
|
+
"IntTools_SequenceOfCommonPrts": "NCollection_Sequence_IntTools_CommonPrt",
|
|
25
|
+
"IntTools_SequenceOfCurves": "NCollection_Sequence_IntTools_Curve",
|
|
26
|
+
"IntTools_SequenceOfPntOn2Faces": "NCollection_Sequence_IntTools_PntOn2Faces",
|
|
27
|
+
"IntTools_SequenceOfRanges": "NCollection_Sequence_IntTools_Range",
|
|
28
|
+
"Message_ListOfAlert": "NCollection_List_handle_Message_Alert",
|
|
29
|
+
"PCDM_SequenceOfDocument": "NCollection_Sequence_handle_PCDM_Document",
|
|
30
|
+
"Poly_Array1OfTriangle": "NCollection_Array1_Poly_Triangle",
|
|
31
|
+
"Poly_HArray1OfTriangle": "NCollection_HArray1_Poly_Triangle",
|
|
32
|
+
"Poly_ListOfTriangulation": "NCollection_List_handle_Poly_Triangulation",
|
|
33
|
+
"TColGeom_Array1OfBSplineCurve": "NCollection_Array1_handle_Geom_BSplineCurve",
|
|
34
|
+
"TColGeom_HArray1OfBSplineCurve": "NCollection_HArray1_handle_Geom_BSplineCurve",
|
|
35
|
+
"TColGeom_SequenceOfCurve": "NCollection_Sequence_handle_Geom_Curve",
|
|
36
|
+
"TColStd_Array1OfBoolean": "NCollection_Array1_bool",
|
|
37
|
+
"TColStd_Array1OfInteger": "NCollection_Array1_int",
|
|
38
|
+
"TColStd_Array1OfReal": "NCollection_Array1_double",
|
|
39
|
+
"TColStd_Array2OfReal": "NCollection_Array2_double",
|
|
40
|
+
"TColStd_HArray1OfBoolean": "NCollection_HArray1_bool",
|
|
41
|
+
"TColStd_HArray1OfInteger": "NCollection_HArray1_int",
|
|
42
|
+
"TColStd_HArray1OfReal": "NCollection_HArray1_double",
|
|
43
|
+
"TColStd_HSequenceOfExtendedString": "NCollection_HSequence_TCollection_ExtendedString",
|
|
44
|
+
"TColStd_HSequenceOfHAsciiString": "NCollection_HSequence_handle_TCollection_HAsciiString",
|
|
45
|
+
"TColStd_HSequenceOfInteger": "NCollection_HSequence_int",
|
|
46
|
+
"TColStd_HSequenceOfTransient": "NCollection_HSequence_handle_Standard_Transient",
|
|
47
|
+
"TColStd_ListOfAsciiString": "NCollection_List_TCollection_AsciiString",
|
|
48
|
+
"TColStd_ListOfInteger": "NCollection_List_int",
|
|
49
|
+
"TColStd_SequenceOfAsciiString": "NCollection_Sequence_TCollection_AsciiString",
|
|
50
|
+
"TColStd_SequenceOfExtendedString": "NCollection_Sequence_TCollection_ExtendedString",
|
|
51
|
+
"TColStd_SequenceOfHAsciiString": "NCollection_Sequence_handle_TCollection_HAsciiString",
|
|
52
|
+
"TColStd_SequenceOfInteger": "NCollection_Sequence_int",
|
|
53
|
+
"TColStd_SequenceOfReal": "NCollection_Sequence_double",
|
|
54
|
+
"TColStd_SequenceOfTransient": "NCollection_Sequence_handle_Standard_Transient",
|
|
55
|
+
"TColgp_Array1OfPnt": "NCollection_Array1_gp_Pnt",
|
|
56
|
+
"TColgp_Array1OfPnt2d": "NCollection_Array1_gp_Pnt2d",
|
|
57
|
+
"TColgp_Array1OfVec2d": "NCollection_Array1_gp_Vec2d",
|
|
58
|
+
"TColgp_Array2OfPnt": "NCollection_Array2_gp_Pnt",
|
|
59
|
+
"TColgp_HArray1OfPnt": "NCollection_HArray1_gp_Pnt",
|
|
60
|
+
"TColgp_HArray1OfPnt2d": "NCollection_HArray1_gp_Pnt2d",
|
|
61
|
+
"TColgp_SequenceOfPnt": "NCollection_Sequence_gp_Pnt",
|
|
62
|
+
"TColgp_SequenceOfPnt2d": "NCollection_Sequence_gp_Pnt2d",
|
|
63
|
+
"TDF_AttributeDeltaList": "NCollection_List_handle_TDF_AttributeDelta",
|
|
64
|
+
"TDF_AttributeSequence": "NCollection_Sequence_handle_TDF_Attribute",
|
|
65
|
+
"TDF_DeltaList": "NCollection_List_handle_TDF_Delta",
|
|
66
|
+
"TDF_IDList": "NCollection_List_Standard_GUID",
|
|
67
|
+
"TDF_LabelList": "NCollection_List_TDF_Label",
|
|
68
|
+
"TDF_LabelSequence": "NCollection_Sequence_TDF_Label",
|
|
69
|
+
"TShort_Array1OfShortReal": "NCollection_Array1_float",
|
|
70
|
+
"TShort_HArray1OfShortReal": "NCollection_HArray1_float",
|
|
71
|
+
"TopTools_DataMapOfShapeListOfShape": "NCollection_DataMap_TopoDS_Shape_NCollection_List_TopoDS_Shape_TopTools_ShapeMapHasher",
|
|
72
|
+
"TopTools_DataMapOfShapeShape": "NCollection_DataMap_TopoDS_Shape_TopoDS_Shape_TopTools_ShapeMapHasher",
|
|
73
|
+
"TopTools_HSequenceOfShape": "NCollection_HSequence_TopoDS_Shape",
|
|
74
|
+
"TopTools_IndexedDataMapOfShapeListOfShape": "NCollection_IndexedDataMap_TopoDS_Shape_NCollection_List_TopoDS_Shape_TopTools_ShapeMapHasher",
|
|
75
|
+
"TopTools_IndexedMapOfShape": "NCollection_IndexedMap_TopoDS_Shape_TopTools_ShapeMapHasher",
|
|
76
|
+
"TopTools_ListOfShape": "NCollection_List_TopoDS_Shape",
|
|
77
|
+
"TopTools_MapOfShape": "NCollection_Map_TopoDS_Shape_TopTools_ShapeMapHasher",
|
|
78
|
+
"TopTools_SequenceOfShape": "NCollection_Sequence_TopoDS_Shape",
|
|
79
|
+
"TopoDS_ListOfShape": "NCollection_List_TopoDS_Shape",
|
|
80
|
+
"XCAFDoc_DataMapOfShapeLabel": "NCollection_DataMap_TopoDS_Shape_TDF_Label_TopTools_ShapeMapHasher",
|
|
81
|
+
"XSControl_WorkSessionMap": "NCollection_DataMap_TCollection_AsciiString_handle_Standard_Transient",
|
|
82
|
+
"math_Vector": "math_VectorBase_double",
|
|
83
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"BOPDS_ListOfPave": "NCollection_List_BOPDS_Pave",
|
|
3
|
+
"BOPDS_VectorOfFaceInfo": "NCollection_DynamicArray_BOPDS_FaceInfo",
|
|
4
|
+
"BOPDS_VectorOfInterfEE": "NCollection_DynamicArray_BOPDS_InterfEE",
|
|
5
|
+
"BOPDS_VectorOfInterfEF": "NCollection_DynamicArray_BOPDS_InterfEF",
|
|
6
|
+
"BOPDS_VectorOfInterfEZ": "NCollection_DynamicArray_BOPDS_InterfEZ",
|
|
7
|
+
"BOPDS_VectorOfInterfFF": "NCollection_DynamicArray_BOPDS_InterfFF",
|
|
8
|
+
"BOPDS_VectorOfInterfFZ": "NCollection_DynamicArray_BOPDS_InterfFZ",
|
|
9
|
+
"BOPDS_VectorOfInterfVE": "NCollection_DynamicArray_BOPDS_InterfVE",
|
|
10
|
+
"BOPDS_VectorOfInterfVF": "NCollection_DynamicArray_BOPDS_InterfVF",
|
|
11
|
+
"BOPDS_VectorOfInterfVV": "NCollection_DynamicArray_BOPDS_InterfVV",
|
|
12
|
+
"BOPDS_VectorOfInterfVZ": "NCollection_DynamicArray_BOPDS_InterfVZ",
|
|
13
|
+
"BOPDS_VectorOfInterfZZ": "NCollection_DynamicArray_BOPDS_InterfZZ",
|
|
14
|
+
"BRepCheck_ListOfStatus": "NCollection_List_BRepCheck_Status",
|
|
15
|
+
"ChFiDS_SecArray1": "NCollection_Array1_ChFiDS_CircSection",
|
|
16
|
+
"ChFiDS_SecHArray1": "NCollection_HArray1_ChFiDS_CircSection",
|
|
17
|
+
"Extrema_SequenceOfPOnCurv": "NCollection_Sequence_Extrema_POnCurv",
|
|
18
|
+
"IntRes2d_SequenceOfIntersectionPoint": "NCollection_Sequence_IntRes2d_IntersectionPoint",
|
|
19
|
+
"IntSurf_ListOfPntOn2S": "NCollection_List_IntSurf_PntOn2S",
|
|
20
|
+
"IntTools_ListOfSurfaceRangeSample": "NCollection_List_IntTools_SurfaceRangeSample",
|
|
21
|
+
"IntTools_SequenceOfCommonPrts": "NCollection_Sequence_IntTools_CommonPrt",
|
|
22
|
+
"IntTools_SequenceOfCurves": "NCollection_Sequence_IntTools_Curve",
|
|
23
|
+
"IntTools_SequenceOfPntOn2Faces": "NCollection_Sequence_IntTools_PntOn2Faces",
|
|
24
|
+
"IntTools_SequenceOfRanges": "NCollection_Sequence_IntTools_Range",
|
|
25
|
+
"Message_ListOfAlert": "NCollection_List_handle_Message_Alert",
|
|
26
|
+
"PCDM_SequenceOfDocument": "NCollection_Sequence_handle_PCDM_Document",
|
|
27
|
+
"Poly_Array1OfTriangle": "NCollection_Array1_Poly_Triangle",
|
|
28
|
+
"Poly_HArray1OfTriangle": "NCollection_HArray1_Poly_Triangle",
|
|
29
|
+
"Poly_ListOfTriangulation": "NCollection_List_handle_Poly_Triangulation",
|
|
30
|
+
"TColGeom_Array1OfBSplineCurve": "NCollection_Array1_handle_Geom_BSplineCurve",
|
|
31
|
+
"TColGeom_HArray1OfBSplineCurve": "NCollection_HArray1_handle_Geom_BSplineCurve",
|
|
32
|
+
"TColGeom_SequenceOfCurve": "NCollection_Sequence_handle_Geom_Curve",
|
|
33
|
+
"TColStd_Array1OfBoolean": "NCollection_Array1_bool",
|
|
34
|
+
"TColStd_Array1OfInteger": "NCollection_Array1_int",
|
|
35
|
+
"TColStd_Array1OfReal": "NCollection_Array1_double",
|
|
36
|
+
"TColStd_Array2OfReal": "NCollection_Array2_double",
|
|
37
|
+
"TColStd_HArray1OfBoolean": "NCollection_HArray1_bool",
|
|
38
|
+
"TColStd_HArray1OfInteger": "NCollection_HArray1_int",
|
|
39
|
+
"TColStd_HArray1OfReal": "NCollection_HArray1_double",
|
|
40
|
+
"TColStd_HSequenceOfExtendedString": "NCollection_HSequence_TCollection_ExtendedString",
|
|
41
|
+
"TColStd_HSequenceOfHAsciiString": "NCollection_HSequence_handle_TCollection_HAsciiString",
|
|
42
|
+
"TColStd_HSequenceOfInteger": "NCollection_HSequence_int",
|
|
43
|
+
"TColStd_HSequenceOfTransient": "NCollection_HSequence_handle_Standard_Transient",
|
|
44
|
+
"TColStd_ListOfAsciiString": "NCollection_List_TCollection_AsciiString",
|
|
45
|
+
"TColStd_ListOfInteger": "NCollection_List_int",
|
|
46
|
+
"TColStd_SequenceOfAsciiString": "NCollection_Sequence_TCollection_AsciiString",
|
|
47
|
+
"TColStd_SequenceOfExtendedString": "NCollection_Sequence_TCollection_ExtendedString",
|
|
48
|
+
"TColStd_SequenceOfHAsciiString": "NCollection_Sequence_handle_TCollection_HAsciiString",
|
|
49
|
+
"TColStd_SequenceOfInteger": "NCollection_Sequence_int",
|
|
50
|
+
"TColStd_SequenceOfReal": "NCollection_Sequence_double",
|
|
51
|
+
"TColStd_SequenceOfTransient": "NCollection_Sequence_handle_Standard_Transient",
|
|
52
|
+
"TColgp_Array1OfPnt": "NCollection_Array1_gp_Pnt",
|
|
53
|
+
"TColgp_Array1OfPnt2d": "NCollection_Array1_gp_Pnt2d",
|
|
54
|
+
"TColgp_Array1OfVec2d": "NCollection_Array1_gp_Vec2d",
|
|
55
|
+
"TColgp_Array2OfPnt": "NCollection_Array2_gp_Pnt",
|
|
56
|
+
"TColgp_HArray1OfPnt": "NCollection_HArray1_gp_Pnt",
|
|
57
|
+
"TColgp_HArray1OfPnt2d": "NCollection_HArray1_gp_Pnt2d",
|
|
58
|
+
"TColgp_SequenceOfPnt": "NCollection_Sequence_gp_Pnt",
|
|
59
|
+
"TColgp_SequenceOfPnt2d": "NCollection_Sequence_gp_Pnt2d",
|
|
60
|
+
"TDF_AttributeDeltaList": "NCollection_List_handle_TDF_AttributeDelta",
|
|
61
|
+
"TDF_AttributeSequence": "NCollection_Sequence_handle_TDF_Attribute",
|
|
62
|
+
"TDF_DeltaList": "NCollection_List_handle_TDF_Delta",
|
|
63
|
+
"TDF_IDList": "NCollection_List_Standard_GUID",
|
|
64
|
+
"TDF_LabelList": "NCollection_List_TDF_Label",
|
|
65
|
+
"TDF_LabelSequence": "NCollection_Sequence_TDF_Label",
|
|
66
|
+
"TShort_Array1OfShortReal": "NCollection_Array1_float",
|
|
67
|
+
"TShort_HArray1OfShortReal": "NCollection_HArray1_float",
|
|
68
|
+
"TopTools_DataMapOfShapeListOfShape": "NCollection_DataMap_TopoDS_Shape_NCollection_List_TopoDS_Shape_TopTools_ShapeMapHasher",
|
|
69
|
+
"TopTools_DataMapOfShapeShape": "NCollection_DataMap_TopoDS_Shape_TopoDS_Shape_TopTools_ShapeMapHasher",
|
|
70
|
+
"TopTools_HSequenceOfShape": "NCollection_HSequence_TopoDS_Shape",
|
|
71
|
+
"TopTools_IndexedDataMapOfShapeListOfShape": "NCollection_IndexedDataMap_TopoDS_Shape_NCollection_List_TopoDS_Shape_TopTools_ShapeMapHasher",
|
|
72
|
+
"TopTools_IndexedMapOfShape": "NCollection_IndexedMap_TopoDS_Shape_TopTools_ShapeMapHasher",
|
|
73
|
+
"TopTools_ListOfShape": "NCollection_List_TopoDS_Shape",
|
|
74
|
+
"TopTools_MapOfShape": "NCollection_Map_TopoDS_Shape_TopTools_ShapeMapHasher",
|
|
75
|
+
"TopTools_SequenceOfShape": "NCollection_Sequence_TopoDS_Shape",
|
|
76
|
+
"TopoDS_ListOfShape": "NCollection_List_TopoDS_Shape",
|
|
77
|
+
"XCAFDoc_DataMapOfShapeLabel": "NCollection_DataMap_TopoDS_Shape_TDF_Label_TopTools_ShapeMapHasher",
|
|
78
|
+
"XSControl_WorkSessionMap": "NCollection_DataMap_TCollection_AsciiString_handle_Standard_Transient",
|
|
79
|
+
"math_Vector": "math_VectorBase_double"
|
|
80
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "build-manifest-v2",
|
|
3
|
-
"timestamp": "2026-
|
|
3
|
+
"timestamp": "2026-08-29T10:49:28Z",
|
|
4
4
|
"yaml_config": "fluidcad_multi.yml",
|
|
5
|
-
"yaml_hash": "
|
|
5
|
+
"yaml_hash": "e0d9723ede6e",
|
|
6
6
|
"validation_passed": true,
|
|
7
7
|
"symbols": {
|
|
8
8
|
"requested": [
|
|
@@ -162,6 +162,8 @@
|
|
|
162
162
|
"GeomAdaptor_TransformedCurve",
|
|
163
163
|
"GeomAdaptor_TransformedSurface",
|
|
164
164
|
"GeomConvert",
|
|
165
|
+
"GeomConvert_ConvType",
|
|
166
|
+
"GeomConvert_CurveToAnaCurve",
|
|
165
167
|
"GeomLProp_SLProps",
|
|
166
168
|
"Geom_BSplineCurve",
|
|
167
169
|
"Geom_BSplineSurface",
|
|
@@ -322,7 +324,7 @@
|
|
|
322
324
|
"missing": [],
|
|
323
325
|
"alias_resolved": [],
|
|
324
326
|
"builtin": [],
|
|
325
|
-
"extra_compiled":
|
|
327
|
+
"extra_compiled": 5051,
|
|
326
328
|
"pass": true
|
|
327
329
|
},
|
|
328
330
|
"outputs": [
|
|
@@ -330,7 +332,7 @@
|
|
|
330
332
|
"name": "opencascade.fluidcad.multi-threaded.js",
|
|
331
333
|
"wasm_file": "opencascade.fluidcad.multi-threaded.wasm",
|
|
332
334
|
"wasm_exists": true,
|
|
333
|
-
"wasm_size":
|
|
335
|
+
"wasm_size": 22835573,
|
|
334
336
|
"js_exists": true,
|
|
335
337
|
"js_size": 68072,
|
|
336
338
|
"pass": true
|
|
@@ -28842,6 +28842,104 @@ export declare class GeomConvert {
|
|
|
28842
28842
|
[Symbol.dispose](): void;
|
|
28843
28843
|
}
|
|
28844
28844
|
|
|
28845
|
+
export type GeomConvert_ConvType = typeof GeomConvert_ConvType[keyof typeof GeomConvert_ConvType];
|
|
28846
|
+
export declare const GeomConvert_ConvType: {
|
|
28847
|
+
readonly GeomConvert_Target: 'GeomConvert_Target';
|
|
28848
|
+
readonly GeomConvert_Simplest: 'GeomConvert_Simplest';
|
|
28849
|
+
readonly GeomConvert_MinGap: 'GeomConvert_MinGap';
|
|
28850
|
+
};
|
|
28851
|
+
|
|
28852
|
+
export declare class GeomConvert_CurveToAnaCurve {
|
|
28853
|
+
constructor();
|
|
28854
|
+
constructor(C: Geom_Curve);
|
|
28855
|
+
Init(C: Geom_Curve): void;
|
|
28856
|
+
/**
|
|
28857
|
+
* Converts me to analytical if possible with given tolerance. The new first and last parameters are returned to newF, newL.
|
|
28858
|
+
* @returns A result object with fields:
|
|
28859
|
+
* - `returnValue`: the C++ return value
|
|
28860
|
+
* - `theResultCurve`: owned by the returned envelope.
|
|
28861
|
+
* - `newF`: updated value from the call.
|
|
28862
|
+
* - `newL`: updated value from the call.
|
|
28863
|
+
* Dispose the returned envelope to release owned Handle fields.
|
|
28864
|
+
*/
|
|
28865
|
+
ConvertToAnalytical(theTol: number, F: number, L: number, newF?: number, newL?: number): { returnValue: boolean; theResultCurve: Geom_Curve; newF: number; newL: number; [Symbol.dispose](): void };
|
|
28866
|
+
static ComputeCurve(curve: Geom_Curve, tolerance: number, c1: number, c2: number, cf: number, cl: number, theGap: number, theCurvType: GeomConvert_ConvType, theTarget: GeomAbs_CurveType): { returnValue: Geom_Curve; cf: number; cl: number; theGap: number; [Symbol.dispose](): void };
|
|
28867
|
+
/**
|
|
28868
|
+
* Tries to convert the given curve to circle with given tolerance. Returns NULL curve if conversion is not possible.
|
|
28869
|
+
* @returns A result object with fields:
|
|
28870
|
+
* - `returnValue`: the C++ return value
|
|
28871
|
+
* - `cf`: updated value from the call.
|
|
28872
|
+
* - `cl`: updated value from the call.
|
|
28873
|
+
* - `Deviation`: updated value from the call.
|
|
28874
|
+
* Dispose the returned envelope to release owned Handle fields.
|
|
28875
|
+
*/
|
|
28876
|
+
static ComputeCircle(curve: Geom_Curve, tolerance: number, c1: number, c2: number, cf?: number, cl?: number, Deviation?: number): { returnValue: Geom_Curve; cf: number; cl: number; Deviation: number; [Symbol.dispose](): void };
|
|
28877
|
+
/**
|
|
28878
|
+
* Tries to convert the given curve to ellipse with given tolerance. Returns NULL curve if conversion is not possible.
|
|
28879
|
+
* @returns A result object with fields:
|
|
28880
|
+
* - `returnValue`: the C++ return value
|
|
28881
|
+
* - `cf`: updated value from the call.
|
|
28882
|
+
* - `cl`: updated value from the call.
|
|
28883
|
+
* - `Deviation`: updated value from the call.
|
|
28884
|
+
* Dispose the returned envelope to release owned Handle fields.
|
|
28885
|
+
*/
|
|
28886
|
+
static ComputeEllipse(curve: Geom_Curve, tolerance: number, c1: number, c2: number, cf?: number, cl?: number, Deviation?: number): { returnValue: Geom_Curve; cf: number; cl: number; Deviation: number; [Symbol.dispose](): void };
|
|
28887
|
+
/**
|
|
28888
|
+
* Tries to convert the given curve to line with given tolerance. Returns NULL curve if conversion is not possible.
|
|
28889
|
+
* @returns A result object with fields:
|
|
28890
|
+
* - `returnValue`: the C++ return value
|
|
28891
|
+
* - `cf`: updated value from the call.
|
|
28892
|
+
* - `cl`: updated value from the call.
|
|
28893
|
+
* - `Deviation`: updated value from the call.
|
|
28894
|
+
* Dispose the returned envelope to release owned Handle fields.
|
|
28895
|
+
*/
|
|
28896
|
+
static ComputeLine(curve: Geom_Curve, tolerance: number, c1: number, c2: number, cf?: number, cl?: number, Deviation?: number): { returnValue: unknown; cf: number; cl: number; Deviation: number; [Symbol.dispose](): void };
|
|
28897
|
+
/**
|
|
28898
|
+
* Returns true if the set of points is linear with given tolerance.
|
|
28899
|
+
* @returns A result object with fields:
|
|
28900
|
+
* - `returnValue`: the C++ return value
|
|
28901
|
+
* - `Deviation`: updated value from the call.
|
|
28902
|
+
*/
|
|
28903
|
+
static IsLinear(aPoints: NCollection_Array1_gp_Pnt, tolerance: number, Deviation?: number): { returnValue: boolean; Deviation: number };
|
|
28904
|
+
/**
|
|
28905
|
+
* Creates line on two points. Resulting parameters returned.
|
|
28906
|
+
* @returns A result object with fields:
|
|
28907
|
+
* - `returnValue`: the C++ return value
|
|
28908
|
+
* - `cf`: updated value from the call.
|
|
28909
|
+
* - `cl`: updated value from the call.
|
|
28910
|
+
* Dispose the returned envelope to release owned Handle fields.
|
|
28911
|
+
*/
|
|
28912
|
+
static GetLine(P1: gp_Pnt, P2: gp_Pnt, cf?: number, cl?: number): { returnValue: gp_Lin; cf: number; cl: number; [Symbol.dispose](): void };
|
|
28913
|
+
/**
|
|
28914
|
+
* Creates circle on points. Returns true if OK.
|
|
28915
|
+
* @param Circ Mutated in place; read the updated value from this argument after the call.
|
|
28916
|
+
*/
|
|
28917
|
+
static GetCircle(Circ: gp_Circ, P0: gp_Pnt, P1: gp_Pnt, P2: gp_Pnt): boolean;
|
|
28918
|
+
/**
|
|
28919
|
+
* Returns maximal deviation of converted surface from the original one computed by last call to ConvertToAnalytical.
|
|
28920
|
+
*/
|
|
28921
|
+
Gap(): number;
|
|
28922
|
+
/**
|
|
28923
|
+
* Returns conversion type.
|
|
28924
|
+
*/
|
|
28925
|
+
GetConvType(): GeomConvert_ConvType;
|
|
28926
|
+
/**
|
|
28927
|
+
* Sets type of conversion.
|
|
28928
|
+
*/
|
|
28929
|
+
SetConvType(theConvType: GeomConvert_ConvType): void;
|
|
28930
|
+
/**
|
|
28931
|
+
* Returns target curve type.
|
|
28932
|
+
*/
|
|
28933
|
+
GetTarget(): GeomAbs_CurveType;
|
|
28934
|
+
/**
|
|
28935
|
+
* Sets target curve type.
|
|
28936
|
+
*/
|
|
28937
|
+
SetTarget(theTarget: GeomAbs_CurveType): void;
|
|
28938
|
+
/** Releases the C++ object. The caller must ensure no further access. */
|
|
28939
|
+
delete(): void;
|
|
28940
|
+
[Symbol.dispose](): void;
|
|
28941
|
+
}
|
|
28942
|
+
|
|
28845
28943
|
/**
|
|
28846
28944
|
* Template class for computing local properties of a 3D surface: point, first and second derivatives, tangent directions, normal, and curvature analysis (max, min, mean, Gaussian).
|
|
28847
28945
|
*/
|
|
@@ -43645,6 +43743,8 @@ export type OpenCascadeInstance = {
|
|
|
43645
43743
|
GProp_GProps: typeof GProp_GProps;
|
|
43646
43744
|
GProp_PrincipalProps: typeof GProp_PrincipalProps;
|
|
43647
43745
|
GeomConvert: typeof GeomConvert;
|
|
43746
|
+
GeomConvert_ConvType: typeof GeomConvert_ConvType;
|
|
43747
|
+
GeomConvert_CurveToAnaCurve: typeof GeomConvert_CurveToAnaCurve;
|
|
43648
43748
|
GeomLProp_SLProps: typeof GeomLProp_SLProps;
|
|
43649
43749
|
gce_MakeCylinder: typeof gce_MakeCylinder;
|
|
43650
43750
|
gce_Root: typeof gce_Root;
|