assassinlike commited on
Commit
eef1a4e
·
verified ·
1 Parent(s): 41a3493

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_DataMapIteratorOfDataMapOfIOStatus.hxx +19 -0
  2. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_ManipulatorMode.hxx +29 -0
  3. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_OffsetDimension.hxx +22 -0
  4. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AdvApprox_ApproxAFunction.hxx +200 -0
  5. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AppParCurves_HArray1OfMultiCurve.hxx +26 -0
  6. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Approx_Curve3d.hxx +62 -0
  7. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Aspect_VKeyFlags.hxx +51 -0
  8. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPAlgo_CellsBuilder.hxx +266 -0
  9. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPDS_CoupleOfPaveBlocks.hxx +176 -0
  10. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPDS_MapOfPave.hxx +24 -0
  11. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPTools_BoxSelector.hxx +89 -0
  12. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox.hxx +287 -0
  13. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_CSConstRad.hxx +24 -0
  14. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_Extremity.lxx +88 -0
  15. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_HCurveTool.lxx +193 -0
  16. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_Line.lxx +109 -0
  17. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBuilderAPI_MakeWire.hxx +188 -0
  18. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBuilderAPI_PipeError.hxx +29 -0
  19. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepCheck.hxx +53 -0
  20. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepClass3d_SolidClassifier.hxx +69 -0
  21. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepExtrema_ExtFF.hxx +79 -0
  22. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepExtrema_SupportType.hxx +24 -0
  23. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepFeat_MakeRevol.lxx +41 -0
  24. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepFill_TrimSurfaceTool.hxx +83 -0
  25. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepGProp_Face.lxx +103 -0
  26. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepLProp.hxx +54 -0
  27. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepLib_MakeEdge.hxx +267 -0
  28. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepMesh_MeshTool.hxx +220 -0
  29. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepOffsetAPI_SequenceOfSequenceOfShape.hxx +25 -0
  30. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepTools_Modifier.hxx +129 -0
  31. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRep_PointsOnSurface.hxx +54 -0
  32. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BVH_QuadTree.hxx +41 -0
  33. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BVH_RadixSorter.hxx +255 -0
  34. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BiTgte_CurveOnVertex.hxx +163 -0
  35. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinLDrivers_DocumentRetrievalDriver.hxx +129 -0
  36. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDF_StringIdMap.hxx +23 -0
  37. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDF_TagSourceDriver.hxx +55 -0
  38. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDataStd_ExpressionDriver.hxx +55 -0
  39. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDataStd_UAttributeDriver.hxx +55 -0
  40. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinObjMgt_PChar.hxx +23 -0
  41. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinObjMgt_Position.hxx +45 -0
  42. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BlendFunc_EvolRad.hxx +299 -0
  43. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/CDM_MetaDataLookUpTable.hxx +29 -0
  44. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFi2d_AnaFilletAlgo.hxx +143 -0
  45. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFiDS_ListOfStripe.hxx +26 -0
  46. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFiDS_Regul.hxx +59 -0
  47. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Contap_SurfFunction.hxx +123 -0
  48. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/DEIGES_Provider.hxx +160 -0
  49. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/DE_ShapeFixConfigurationNode.hxx +50 -0
  50. data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Draft_IndexedDataMapOfVertexVertexInfo.hxx +28 -0
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_DataMapIteratorOfDataMapOfIOStatus.hxx ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright (c) 2015 OPEN CASCADE SAS
2
+ //
3
+ // This file is part of Open CASCADE Technology software library.
4
+ //
5
+ // This library is free software; you can redistribute it and/or modify it under
6
+ // the terms of the GNU Lesser General Public License version 2.1 as published
7
+ // by the Free Software Foundation, with special exception defined in the file
8
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9
+ // distribution for complete text of the license and disclaimer of any warranty.
10
+ //
11
+ // Alternatively, this file may be used under the terms of Open CASCADE
12
+ // commercial license or contractual agreement.
13
+
14
+ #ifndef AIS_DataMapIteratorOfDataMapOfIOStatus_HeaderFile
15
+ #define AIS_DataMapIteratorOfDataMapOfIOStatus_HeaderFile
16
+
17
+ #include <AIS_DataMapOfIOStatus.hxx>
18
+
19
+ #endif
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_ManipulatorMode.hxx ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 2015-02-05
2
+ // Created by: Anastasia BORISOVA
3
+ // Copyright (c) 2015 OPEN CASCADE SAS
4
+ //
5
+ // This file is part of Open CASCADE Technology software library.
6
+ //
7
+ // This library is free software; you can redistribute it and/or modify it under
8
+ // the terms of the GNU Lesser General Public License version 2.1 as published
9
+ // by the Free Software Foundation, with special exception defined in the file
10
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11
+ // distribution for complete text of the license and disclaimer of any warranty.
12
+ //
13
+ // Alternatively, this file may be used under the terms of Open CASCADE
14
+ // commercial license or contractual agreement.
15
+
16
+ #ifndef _AIS_ManipulatorMode_HeaderFile
17
+ #define _AIS_ManipulatorMode_HeaderFile
18
+
19
+ //! Mode to make definite kind of transformations with AIS_Manipulator object.
20
+ enum AIS_ManipulatorMode
21
+ {
22
+ AIS_MM_None = 0,
23
+ AIS_MM_Translation = 1,
24
+ AIS_MM_Rotation,
25
+ AIS_MM_Scaling,
26
+ AIS_MM_TranslationPlane
27
+ };
28
+
29
+ #endif
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_OffsetDimension.hxx ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright (c) 2020 OPEN CASCADE SAS
2
+ //
3
+ // This file is part of Open CASCADE Technology software library.
4
+ //
5
+ // This library is free software; you can redistribute it and/or modify it under
6
+ // the terms of the GNU Lesser General Public License version 2.1 as published
7
+ // by the Free Software Foundation, with special exception defined in the file
8
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9
+ // distribution for complete text of the license and disclaimer of any warranty.
10
+ //
11
+ // Alternatively, this file may be used under the terms of Open CASCADE
12
+ // commercial license or contractual agreement.
13
+
14
+ #ifndef _AIS_OffsetDimension_HeaderFile
15
+ #define _AIS_OffsetDimension_HeaderFile
16
+
17
+ #include <PrsDim_OffsetDimension.hxx>
18
+
19
+ Standard_DEPRECATED("Deprecated alias to moved class")
20
+ typedef PrsDim_OffsetDimension AIS_OffsetDimension;
21
+
22
+ #endif // _AIS_OffsetDimension_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AdvApprox_ApproxAFunction.hxx ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1995-05-29
2
+ // Created by: Xavier BENVENISTE
3
+ // Copyright (c) 1995-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _AdvApprox_ApproxAFunction_HeaderFile
18
+ #define _AdvApprox_ApproxAFunction_HeaderFile
19
+
20
+ #include <Standard.hxx>
21
+ #include <Standard_DefineAlloc.hxx>
22
+ #include <Standard_Handle.hxx>
23
+
24
+ #include <Standard_Integer.hxx>
25
+ #include <TColStd_HArray1OfReal.hxx>
26
+ #include <Standard_Real.hxx>
27
+ #include <GeomAbs_Shape.hxx>
28
+ #include <Standard_Boolean.hxx>
29
+ #include <TColStd_HArray2OfReal.hxx>
30
+ #include <TColgp_HArray2OfPnt2d.hxx>
31
+ #include <TColgp_HArray2OfPnt.hxx>
32
+ #include <TColStd_HArray1OfInteger.hxx>
33
+ #include <AdvApprox_EvaluatorFunction.hxx>
34
+ #include <TColStd_Array1OfInteger.hxx>
35
+ #include <TColStd_Array1OfReal.hxx>
36
+ #include <TColgp_Array1OfPnt2d.hxx>
37
+ #include <TColgp_Array1OfPnt.hxx>
38
+ #include <Standard_OStream.hxx>
39
+ class AdvApprox_Cutting;
40
+
41
+ //! this approximate a given function
42
+ class AdvApprox_ApproxAFunction
43
+ {
44
+ public:
45
+ DEFINE_STANDARD_ALLOC
46
+
47
+ //! Constructs approximator tool.
48
+ //!
49
+ //! Warning:
50
+ //! the Func should be valid reference to object of type
51
+ //! inherited from class EvaluatorFunction from Approx
52
+ //! with life time longer than that of the approximator tool;
53
+ //!
54
+ //! the result should be formatted in the following way :
55
+ //! <--Num1DSS--> <--2 * Num2DSS--> <--3 * Num3DSS-->
56
+ //! R[0] .... R[Num1DSS]..... R[Dimension-1]
57
+ //!
58
+ //! the order in which each Subspace appears should be consistent
59
+ //! with the tolerances given in the create function and the
60
+ //! results will be given in that order as well that is :
61
+ //! Curve2d(n) will correspond to the nth entry
62
+ //! described by Num2DSS, Curve(n) will correspond to
63
+ //! the nth entry described by Num3DSS
64
+ //! The same type of schema applies to the Poles1d, Poles2d and
65
+ //! Poles.
66
+ Standard_EXPORT AdvApprox_ApproxAFunction(const Standard_Integer Num1DSS,
67
+ const Standard_Integer Num2DSS,
68
+ const Standard_Integer Num3DSS,
69
+ const Handle(TColStd_HArray1OfReal)& OneDTol,
70
+ const Handle(TColStd_HArray1OfReal)& TwoDTol,
71
+ const Handle(TColStd_HArray1OfReal)& ThreeDTol,
72
+ const Standard_Real First,
73
+ const Standard_Real Last,
74
+ const GeomAbs_Shape Continuity,
75
+ const Standard_Integer MaxDeg,
76
+ const Standard_Integer MaxSeg,
77
+ const AdvApprox_EvaluatorFunction& Func);
78
+
79
+ //! Approximation with user methode of cutting
80
+ Standard_EXPORT AdvApprox_ApproxAFunction(const Standard_Integer Num1DSS,
81
+ const Standard_Integer Num2DSS,
82
+ const Standard_Integer Num3DSS,
83
+ const Handle(TColStd_HArray1OfReal)& OneDTol,
84
+ const Handle(TColStd_HArray1OfReal)& TwoDTol,
85
+ const Handle(TColStd_HArray1OfReal)& ThreeDTol,
86
+ const Standard_Real First,
87
+ const Standard_Real Last,
88
+ const GeomAbs_Shape Continuity,
89
+ const Standard_Integer MaxDeg,
90
+ const Standard_Integer MaxSeg,
91
+ const AdvApprox_EvaluatorFunction& Func,
92
+ const AdvApprox_Cutting& CutTool);
93
+
94
+ Standard_EXPORT static void Approximation(const Standard_Integer TotalDimension,
95
+ const Standard_Integer TotalNumSS,
96
+ const TColStd_Array1OfInteger& LocalDimension,
97
+ const Standard_Real First,
98
+ const Standard_Real Last,
99
+ AdvApprox_EvaluatorFunction& Evaluator,
100
+ const AdvApprox_Cutting& CutTool,
101
+ const Standard_Integer ContinuityOrder,
102
+ const Standard_Integer NumMaxCoeffs,
103
+ const Standard_Integer MaxSegments,
104
+ const TColStd_Array1OfReal& TolerancesArray,
105
+ const Standard_Integer code_precis,
106
+ Standard_Integer& NumCurves,
107
+ TColStd_Array1OfInteger& NumCoeffPerCurveArray,
108
+ TColStd_Array1OfReal& LocalCoefficientArray,
109
+ TColStd_Array1OfReal& IntervalsArray,
110
+ TColStd_Array1OfReal& ErrorMaxArray,
111
+ TColStd_Array1OfReal& AverageErrorArray,
112
+ Standard_Integer& ErrorCode);
113
+
114
+ Standard_Boolean IsDone() const;
115
+
116
+ Standard_Boolean HasResult() const;
117
+
118
+ //! returns the poles from the algorithms as is
119
+ Handle(TColStd_HArray2OfReal) Poles1d() const;
120
+
121
+ //! returns the poles from the algorithms as is
122
+ Handle(TColgp_HArray2OfPnt2d) Poles2d() const;
123
+
124
+ //! -- returns the poles from the algorithms as is
125
+ Handle(TColgp_HArray2OfPnt) Poles() const;
126
+
127
+ //! as the name says
128
+ Standard_EXPORT Standard_Integer NbPoles() const;
129
+
130
+ //! returns the poles at Index from the 1d subspace
131
+ Standard_EXPORT void Poles1d(const Standard_Integer Index, TColStd_Array1OfReal& P) const;
132
+
133
+ //! returns the poles at Index from the 2d subspace
134
+ Standard_EXPORT void Poles2d(const Standard_Integer Index, TColgp_Array1OfPnt2d& P) const;
135
+
136
+ //! returns the poles at Index from the 3d subspace
137
+ Standard_EXPORT void Poles(const Standard_Integer Index, TColgp_Array1OfPnt& P) const;
138
+
139
+ Standard_Integer Degree() const;
140
+
141
+ Standard_Integer NbKnots() const;
142
+
143
+ Standard_Integer NumSubSpaces(const Standard_Integer Dimension) const;
144
+
145
+ Handle(TColStd_HArray1OfReal) Knots() const;
146
+
147
+ Handle(TColStd_HArray1OfInteger) Multiplicities() const;
148
+
149
+ //! returns the error as is in the algorithms
150
+ Standard_EXPORT Handle(TColStd_HArray1OfReal) MaxError(const Standard_Integer Dimension) const;
151
+
152
+ //! returns the error as is in the algorithms
153
+ Standard_EXPORT Handle(TColStd_HArray1OfReal) AverageError(
154
+ const Standard_Integer Dimension) const;
155
+
156
+ Standard_EXPORT Standard_Real MaxError(const Standard_Integer Dimension,
157
+ const Standard_Integer Index) const;
158
+
159
+ Standard_EXPORT Standard_Real AverageError(const Standard_Integer Dimension,
160
+ const Standard_Integer Index) const;
161
+
162
+ //! display information on approximation.
163
+ Standard_EXPORT void Dump(Standard_OStream& o) const;
164
+
165
+ protected:
166
+ private:
167
+ Standard_EXPORT void Perform(const Standard_Integer Num1DSS,
168
+ const Standard_Integer Num2DSS,
169
+ const Standard_Integer Num3DSS,
170
+ const AdvApprox_Cutting& CutTool);
171
+
172
+ Standard_Integer myNumSubSpaces[3];
173
+ Handle(TColStd_HArray1OfReal) my1DTolerances;
174
+ Handle(TColStd_HArray1OfReal) my2DTolerances;
175
+ Handle(TColStd_HArray1OfReal) my3DTolerances;
176
+ Standard_Real myFirst;
177
+ Standard_Real myLast;
178
+ GeomAbs_Shape myContinuity;
179
+ Standard_Integer myMaxDegree;
180
+ Standard_Integer myMaxSegments;
181
+ Standard_Boolean myDone;
182
+ Standard_Boolean myHasResult;
183
+ Handle(TColStd_HArray2OfReal) my1DPoles;
184
+ Handle(TColgp_HArray2OfPnt2d) my2DPoles;
185
+ Handle(TColgp_HArray2OfPnt) my3DPoles;
186
+ Handle(TColStd_HArray1OfReal) myKnots;
187
+ Handle(TColStd_HArray1OfInteger) myMults;
188
+ Standard_Integer myDegree;
189
+ Standard_Address myEvaluator;
190
+ Handle(TColStd_HArray1OfReal) my1DMaxError;
191
+ Handle(TColStd_HArray1OfReal) my1DAverageError;
192
+ Handle(TColStd_HArray1OfReal) my2DMaxError;
193
+ Handle(TColStd_HArray1OfReal) my2DAverageError;
194
+ Handle(TColStd_HArray1OfReal) my3DMaxError;
195
+ Handle(TColStd_HArray1OfReal) my3DAverageError;
196
+ };
197
+
198
+ #include <AdvApprox_ApproxAFunction.lxx>
199
+
200
+ #endif // _AdvApprox_ApproxAFunction_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AppParCurves_HArray1OfMultiCurve.hxx ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1991-04-11
2
+ // Created by: Laurent PAINNOT
3
+ // Copyright (c) 1991-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef AppParCurves_HArray1OfMultiCurve_HeaderFile
18
+ #define AppParCurves_HArray1OfMultiCurve_HeaderFile
19
+
20
+ #include <AppParCurves_MultiCurve.hxx>
21
+ #include <AppParCurves_Array1OfMultiCurve.hxx>
22
+ #include <NCollection_DefineHArray1.hxx>
23
+
24
+ DEFINE_HARRAY1(AppParCurves_HArray1OfMultiCurve, AppParCurves_Array1OfMultiCurve)
25
+
26
+ #endif
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Approx_Curve3d.hxx ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1998-08-20
2
+ // Created by: Philippe MANGIN
3
+ // Copyright (c) 1998-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _Approx_Curve3d_HeaderFile
18
+ #define _Approx_Curve3d_HeaderFile
19
+
20
+ #include <Adaptor3d_Curve.hxx>
21
+ #include <GeomAbs_Shape.hxx>
22
+ #include <Geom_BSplineCurve.hxx>
23
+
24
+ class Approx_Curve3d
25
+ {
26
+ public:
27
+ DEFINE_STANDARD_ALLOC
28
+
29
+ //! Approximation of a curve with respect of the
30
+ //! required tolerance Tol3D.
31
+ Standard_EXPORT Approx_Curve3d(const Handle(Adaptor3d_Curve)& Curve,
32
+ const Standard_Real Tol3d,
33
+ const GeomAbs_Shape Order,
34
+ const Standard_Integer MaxSegments,
35
+ const Standard_Integer MaxDegree);
36
+
37
+ Standard_EXPORT Handle(Geom_BSplineCurve) Curve() const;
38
+
39
+ //! returns Standard_True if the approximation has
40
+ //! been done within required tolerance
41
+ Standard_EXPORT Standard_Boolean IsDone() const;
42
+
43
+ //! returns Standard_True if the approximation did come out
44
+ //! with a result that is not NECESSARELY within the required
45
+ //! tolerance
46
+ Standard_EXPORT Standard_Boolean HasResult() const;
47
+
48
+ //! returns the Maximum Error (>0 when an approximation
49
+ //! has been done, 0 if no approximation)
50
+ Standard_EXPORT Standard_Real MaxError() const;
51
+
52
+ //! Print on the stream o information about the object
53
+ Standard_EXPORT void Dump(Standard_OStream& o) const;
54
+
55
+ private:
56
+ Standard_Boolean myIsDone;
57
+ Standard_Boolean myHasResult;
58
+ Handle(Geom_BSplineCurve) myBSplCurve;
59
+ Standard_Real myMaxError;
60
+ };
61
+
62
+ #endif // _Approx_Curve3d_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Aspect_VKeyFlags.hxx ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright (c) 2016-2019 OPEN CASCADE SAS
2
+ //
3
+ // This file is part of Open CASCADE Technology software library.
4
+ //
5
+ // This library is free software; you can redistribute it and/or modify it under
6
+ // the terms of the GNU Lesser General Public License version 2.1 as published
7
+ // by the Free Software Foundation, with special exception defined in the file
8
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9
+ // distribution for complete text of the license and disclaimer of any warranty.
10
+ //
11
+ // Alternatively, this file may be used under the terms of Open CASCADE
12
+ // commercial license or contractual agreement.
13
+
14
+ #ifndef _Aspect_VKeyFlags_HeaderFile
15
+ #define _Aspect_VKeyFlags_HeaderFile
16
+
17
+ //! Key modifier, for combining with general key from Aspect_VKey.
18
+ typedef unsigned int Aspect_VKeyFlags;
19
+
20
+ //! Key modifier, for combining with general key from Aspect_VKey.
21
+ enum
22
+ {
23
+ Aspect_VKeyFlags_NONE = 0,
24
+ // reserve first 8 bits to combine value with Aspect_VKey
25
+ Aspect_VKeyFlags_SHIFT = 1 << 8, //!< Aspect_VKey_Shift
26
+ Aspect_VKeyFlags_CTRL = 1 << 9, //!< Aspect_VKey_Control
27
+ Aspect_VKeyFlags_ALT = 1 << 10, //!< Aspect_VKey_Alt
28
+ Aspect_VKeyFlags_MENU = 1 << 11, //!< Aspect_VKey_Menu
29
+ Aspect_VKeyFlags_META = 1 << 12, //!< Aspect_VKey_Meta
30
+
31
+ Aspect_VKeyFlags_ALL = Aspect_VKeyFlags_SHIFT | Aspect_VKeyFlags_CTRL | Aspect_VKeyFlags_ALT
32
+ | Aspect_VKeyFlags_MENU | Aspect_VKeyFlags_META
33
+ };
34
+
35
+ //! Mouse buttons, for combining with Aspect_VKey and Aspect_VKeyFlags.
36
+ typedef unsigned int Aspect_VKeyMouse;
37
+
38
+ //! Mouse button bitmask
39
+ enum
40
+ {
41
+ Aspect_VKeyMouse_NONE = 0, //!< no buttons
42
+
43
+ Aspect_VKeyMouse_LeftButton = 1 << 13, //!< mouse left button
44
+ Aspect_VKeyMouse_MiddleButton = 1 << 14, //!< mouse middle button (scroll)
45
+ Aspect_VKeyMouse_RightButton = 1 << 15, //!< mouse right button
46
+
47
+ Aspect_VKeyMouse_MainButtons =
48
+ Aspect_VKeyMouse_LeftButton | Aspect_VKeyMouse_MiddleButton | Aspect_VKeyMouse_RightButton
49
+ };
50
+
51
+ #endif // _Aspect_VKeyFlags_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPAlgo_CellsBuilder.hxx ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created by: Eugeny MALTCHIKOV
2
+ // Copyright (c) 2015 OPEN CASCADE SAS
3
+ //
4
+ // This file is part of Open CASCADE Technology software library.
5
+ //
6
+ // This library is free software; you can redistribute it and/or modify it under
7
+ // the terms of the GNU Lesser General Public License version 2.1 as published
8
+ // by the Free Software Foundation, with special exception defined in the file
9
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10
+ // distribution for complete text of the license and disclaimer of any warranty.
11
+ //
12
+ // Alternatively, this file may be used under the terms of Open CASCADE
13
+ // commercial license or contractual agreement.
14
+
15
+ #ifndef _BOPAlgo_CellsBuilder_HeaderFile
16
+ #define _BOPAlgo_CellsBuilder_HeaderFile
17
+
18
+ #include <Standard_Handle.hxx>
19
+
20
+ #include <TopoDS_Shape.hxx>
21
+
22
+ #include <BOPAlgo_Builder.hxx>
23
+
24
+ #include <TopTools_ListOfShape.hxx>
25
+ #include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
26
+ #include <TopTools_DataMapOfIntegerListOfShape.hxx>
27
+ #include <TopTools_DataMapOfShapeInteger.hxx>
28
+ #include <TopTools_DataMapOfShapeShape.hxx>
29
+
30
+ //! The algorithm is based on the General Fuse algorithm (GFA).
31
+ //! The result of GFA is all split parts of the Arguments.
32
+ //!
33
+ //! The purpose of this algorithm is to provide the result with the content of:
34
+ //! 1. Cells (parts) defined by the user;
35
+ //! 2. Internal boundaries defined by the user.
36
+ //!
37
+ //! In other words the algorithm should provide the possibility for the user to add
38
+ //! or remove any part to (from) result and remove any internal boundaries between parts.
39
+ //!
40
+ //! All the requirements of GFA for the DATA are inherited in this algorithm.
41
+ //! The arguments could be of any type (dimension) and should be valid
42
+ //! in terms of BRepCheck_Analyzer and BOPAlgo_ArgumentAnalyzer.
43
+ //!
44
+ //! Results:
45
+ //!
46
+ //! The result of the algorithm is compound containing selected parts of the basic types (VERTEX,
47
+ //! EDGE, FACE or SOLID). The default result is empty compound. It is possible to add any split part
48
+ //! to the result by using the methods AddToRessult() and AddAllToResult(). It is also possible to
49
+ //! remove any part from the result by using methods RemoveFromResult() and RemoveAllFromResult().
50
+ //! The method RemoveAllFromResult() is also suitable for clearing the result.
51
+ //!
52
+ //! To remove Internal boundaries it is necessary to set the same material to the
53
+ //! parts between which the boundaries should be removed and call the method
54
+ //! RemoveInternalBoundaries(). The material should not be equal to 0, as this is default material
55
+ //! value. The boundaries between parts with this value will not be removed. One part cannot be
56
+ //! added with the different materials. It is also possible to remove the boundaries during
57
+ //! combining the result. To do this it is necessary to set the material for parts (not equal to 0)
58
+ //! and set the flag bUpdate to TRUE. For the arguments of the types FACE or EDGE it is recommended
59
+ //! to remove the boundaries in the end when the result is completely built.
60
+ //! It will help to avoid self-intersections in the result.
61
+ //!
62
+ //! Note, that if the result contains the parts with same material but of different
63
+ //! dimension the boundaries between such parts will not be removed.
64
+ //! Currently, the removal of the internal boundaries between multi-dimensional shapes is not
65
+ //! supported.
66
+ //!
67
+ //! It is possible to create typed Containers from the parts added to result by using method
68
+ //! MakeContainers(). The type of the containers will depend on the type of the arguments: WIRES for
69
+ //! EEDGE, SHELLS for FACES and COMPSOLIDS for SOLIDS. The result will be compound containing
70
+ //! containers. Adding of the parts to such result will not update containers. The result compound
71
+ //! will contain the containers and new added parts (of basic type). Removing of the parts from such
72
+ //! result may affect some containers if the parts that should be removed is in container. In this
73
+ //! case this container will be rebuilt without that part.
74
+ //!
75
+ //! History:
76
+ //!
77
+ //! The algorithm supports history information for basic types of the shapes - VERTEX, EDGE, FACE.
78
+ //! This information available through the methods IsDeleted() and Modified().
79
+ //!
80
+ //! In DRAW Test Harness it is available through the same commands
81
+ //! as for Boolean Operations (bmodified, bgenerated and bisdeleted).
82
+ //!
83
+ //! The algorithm can return the following Error Statuses:
84
+ //! - Error status acquired in the General Fuse algorithm.
85
+ //! The Error status can be checked with HasErrors() method.
86
+ //! If the Error status is not equal to zero, the result cannot be trustworthy.
87
+ //!
88
+ //! The algorithm can set the following Warning Statuses:
89
+ //! - Warning status acquired in the General Fuse algorithm;
90
+ //! - BOPAlgo_AlertRemovalOfIBForMDimShapes
91
+ //! - BOPAlgo_AlertRemovalOfIBForFacesFailed
92
+ //! - BOPAlgo_AlertRemovalOfIBForEdgesFailed
93
+ //! - BOPAlgo_AlertRemovalOfIBForSolidsFailed
94
+ //!
95
+ //! The Warning status can be checked with HasWarnings() method or printed with the DumpWarnings()
96
+ //! method. If warnings are recorded, the result may be not as expected.
97
+ //!
98
+ //! Examples:
99
+ //!
100
+ //! 1. API
101
+ //! @code
102
+ //! BOPAlgo_CellsBuilder aCBuilder;
103
+ //! TopTools_ListOfShape aLS = ...; // arguments
104
+ //! // parallel or single mode (the default value is FALSE)
105
+ //! bool toRunParallel = false;
106
+ //! // fuzzy option (default value is 0)
107
+ //! Standard_Real aTol = 0.0;
108
+ //! //
109
+ //! aCBuilder.SetArguments (aLS);
110
+ //! aCBuilder.SetRunParallel (toRunParallel);
111
+ //! aCBuilder.SetFuzzyValue (aTol);
112
+ //! //
113
+ //! aCBuilder.Perform();
114
+ //! if (aCBuilder.HasErrors()) // check error status
115
+ //! {
116
+ //! return;
117
+ //! }
118
+ //! // empty compound, as nothing has been added yet
119
+ //! const TopoDS_Shape& aRes = aCBuilder.Shape();
120
+ //! // all split parts
121
+ //! const TopoDS_Shape& aRes = aCBuilder.GetAllParts();
122
+ //! //
123
+ //! TopTools_ListOfShape aLSToTake = ...; // parts of these arguments will be taken into result
124
+ //! TopTools_ListOfShape aLSToAvoid = ...; // parts of these arguments will not be taken into result
125
+ //! //
126
+ //! // defines the material common for the cells,
127
+ //! // i.e. the boundaries between cells with the same material will be removed.
128
+ //! // By default it is set to 0.
129
+ //! // Thus, to remove some boundary the value of this variable should not be equal to 0.
130
+ //! Standard_Integer iMaterial = ...;
131
+ //! // defines whether to update the result right now or not
132
+ //! bool toUpdate = ...;
133
+ //! // adding to result
134
+ //! aCBuilder.AddToResult (aLSToTake, aLSToAvoid, iMaterial, toUpdate);
135
+ //! aR = aCBuilder.Shape(); // the result
136
+ //! // removing of the boundaries (should be called only if toUpdate is false)
137
+ //! aCBuilder.RemoveInternalBoundaries();
138
+ //! //
139
+ //! // removing from result
140
+ //! aCBuilder.AddAllToResult();
141
+ //! aCBuilder.RemoveFromResult (aLSToTake, aLSToAvoid);
142
+ //! aR = aCBuilder.Shape(); // the result
143
+ //! @endcode
144
+ //!
145
+ //! 2. DRAW Test Harness
146
+ //! @code
147
+ //! psphere s1 15
148
+ //! psphere s2 15
149
+ //! psphere s3 15
150
+ //! ttranslate s1 0 0 10
151
+ //! ttranslate s2 20 0 10
152
+ //! ttranslate s3 10 0 0
153
+ //! # adding arguments
154
+ //! bclearobjects; bcleartools
155
+ //! baddobjects s1 s2 s3
156
+ //! # intersection
157
+ //! bfillds
158
+ //! # rx will contain all split parts
159
+ //! bcbuild rx
160
+ //! # add to result the part that is common for all three spheres
161
+ //! bcadd res s1 1 s2 1 s3 1 -m 1
162
+ //! # add to result the part that is common only for first and third spheres
163
+ //! bcadd res s1 1 s2 0 s3 1 -m 1
164
+ //! # remove internal boundaries
165
+ //! bcremoveint res
166
+ //! @endcode
167
+ class BOPAlgo_CellsBuilder : public BOPAlgo_Builder
168
+ {
169
+ public:
170
+ DEFINE_STANDARD_ALLOC
171
+
172
+ Standard_EXPORT BOPAlgo_CellsBuilder();
173
+
174
+ Standard_EXPORT BOPAlgo_CellsBuilder(const Handle(NCollection_BaseAllocator)& theAllocator);
175
+
176
+ Standard_EXPORT virtual ~BOPAlgo_CellsBuilder();
177
+
178
+ //! Redefined method Clear - clears the contents.
179
+ Standard_EXPORT virtual void Clear() Standard_OVERRIDE;
180
+
181
+ //! Adding the parts to result.<br>
182
+ //! The parts are defined by two lists of shapes:<br>
183
+ //! <theLSToTake> defines the arguments which parts should be taken into result;<br>
184
+ //! <theLSToAvoid> defines the arguments which parts should not be taken into result;<br>
185
+ //! To be taken into result the part must be IN for all shapes from the list
186
+ //! <theLSToTake> and must be OUT of all shapes from the list <theLSToAvoid>.<br>
187
+ //!
188
+ //! To remove internal boundaries between any cells in the result
189
+ //! <theMaterial> variable should be used. The boundaries between
190
+ //! cells with the same material will be removed. Default value is 0.<br>
191
+ //! Thus, to remove any boundary the value of this variable should not be equal to 0.<br>
192
+ //! <theUpdate> parameter defines whether to remove boundaries now or not.
193
+ Standard_EXPORT void AddToResult(const TopTools_ListOfShape& theLSToTake,
194
+ const TopTools_ListOfShape& theLSToAvoid,
195
+ const Standard_Integer theMaterial = 0,
196
+ const Standard_Boolean theUpdate = Standard_False);
197
+
198
+ //! Add all split parts to result.<br>
199
+ //! <theMaterial> defines the removal of internal boundaries;<br>
200
+ //! <theUpdate> parameter defines whether to remove boundaries now or not.
201
+ Standard_EXPORT void AddAllToResult(const Standard_Integer theMaterial = 0,
202
+ const Standard_Boolean theUpdate = Standard_False);
203
+
204
+ //! Removing the parts from result.<br>
205
+ //! The parts are defined by two lists of shapes:<br>
206
+ //! <theLSToTake> defines the arguments which parts should be removed from result;<br>
207
+ //! <theLSToAvoid> defines the arguments which parts should not be removed from result.<br>
208
+ //! To be removed from the result the part must be IN for all shapes from the list
209
+ //! <theLSToTake> and must be OUT of all shapes from the list <theLSToAvoid>.
210
+ Standard_EXPORT void RemoveFromResult(const TopTools_ListOfShape& theLSToTake,
211
+ const TopTools_ListOfShape& theLSToAvoid);
212
+
213
+ //! Remove all parts from result.
214
+ Standard_EXPORT void RemoveAllFromResult();
215
+
216
+ //! Removes internal boundaries between cells with the same material.<br>
217
+ //! If the result contains the cells with same material but of different dimension
218
+ //! the removal of internal boundaries between these cells will not be performed.<br>
219
+ //! In case of some errors during the removal the method will set the appropriate warning
220
+ //! status - use GetReport() to access them.
221
+ Standard_EXPORT void RemoveInternalBoundaries();
222
+
223
+ //! Get all split parts.
224
+ Standard_EXPORT const TopoDS_Shape& GetAllParts() const;
225
+
226
+ //! Makes the Containers of proper type from the parts added to result.
227
+ Standard_EXPORT void MakeContainers();
228
+
229
+ protected:
230
+ //! Prepare information for history support taking into account
231
+ //! local modification map of unified elements - myMapModified.
232
+ Standard_EXPORT virtual const TopTools_ListOfShape* LocModified(const TopoDS_Shape& theS)
233
+ Standard_OVERRIDE;
234
+
235
+ //! Redefined method PerformInternal1 - makes all split parts,
236
+ //! nullifies the result <myShape>, and index all parts.
237
+ Standard_EXPORT virtual void PerformInternal1(const BOPAlgo_PaveFiller& thePF,
238
+ const Message_ProgressRange& theRange)
239
+ Standard_OVERRIDE;
240
+
241
+ //! Indexes the parts for quick access to the arguments.
242
+ Standard_EXPORT void IndexParts();
243
+
244
+ //! Looking for the parts defined by two lists.
245
+ Standard_EXPORT void FindParts(const TopTools_ListOfShape& theLSToTake,
246
+ const TopTools_ListOfShape& theLSToAvoid,
247
+ TopTools_ListOfShape& theParts);
248
+
249
+ //! Removes internal boundaries between cells with the same material.<br>
250
+ //! Returns TRUE if any internal boundaries have been removed.
251
+ Standard_EXPORT Standard_Boolean
252
+ RemoveInternals(const TopTools_ListOfShape& theLS,
253
+ TopTools_ListOfShape& theLSNew,
254
+ const TopTools_MapOfShape& theMapKeepBnd = TopTools_MapOfShape());
255
+
256
+ // fields
257
+ TopoDS_Shape myAllParts; //!< All split parts of the arguments
258
+ // clang-format off
259
+ TopTools_IndexedDataMapOfShapeListOfShape myIndex; //!< Connection map from all splits parts to the argument shapes from which they were created
260
+ TopTools_DataMapOfIntegerListOfShape myMaterials; //!< Map of assigned materials (material -> list of shape)
261
+ TopTools_DataMapOfShapeInteger myShapeMaterial; //!< Map of assigned materials (shape -> material)
262
+ TopTools_DataMapOfShapeShape myMapModified; //!< Local modification map to track unification of the splits
263
+ // clang-format on
264
+ };
265
+
266
+ #endif //_BOPAlgo_CellsBuilder_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPDS_CoupleOfPaveBlocks.hxx ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created by: Peter KURNEV
2
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
3
+ //
4
+ // This file is part of Open CASCADE Technology software library.
5
+ //
6
+ // This library is free software; you can redistribute it and/or modify it under
7
+ // the terms of the GNU Lesser General Public License version 2.1 as published
8
+ // by the Free Software Foundation, with special exception defined in the file
9
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10
+ // distribution for complete text of the license and disclaimer of any warranty.
11
+ //
12
+ // Alternatively, this file may be used under the terms of Open CASCADE
13
+ // commercial license or contractual agreement.
14
+
15
+ #ifndef BOPDS_CoupleOfPaveBlocks_HeaderFile
16
+ #define BOPDS_CoupleOfPaveBlocks_HeaderFile
17
+
18
+ #include <BOPDS_PaveBlock.hxx>
19
+
20
+ /**
21
+ * The Class BOPDS_CoupleOfPaveBlocks is to store
22
+ * the information about two pave blocks
23
+ * and some satellite information
24
+ *
25
+ */
26
+ //=======================================================================
27
+ // class : BOPDS_CoupleOfPaveBlocks
28
+ // purpose :
29
+ //=======================================================================
30
+ class BOPDS_CoupleOfPaveBlocks
31
+ {
32
+ public:
33
+ /**
34
+ * Constructor
35
+ */
36
+ BOPDS_CoupleOfPaveBlocks()
37
+ : myIndexInterf(-1),
38
+ myIndex(-1),
39
+ myTolerance(0)
40
+ {
41
+ }
42
+
43
+ //
44
+ /**
45
+ * Constructor
46
+ * @param thePB1
47
+ * first pave block
48
+ * @param thePB2
49
+ * secondt pave block
50
+ */
51
+ BOPDS_CoupleOfPaveBlocks(const Handle(BOPDS_PaveBlock)& thePB1,
52
+ const Handle(BOPDS_PaveBlock)& thePB2)
53
+ : myIndexInterf(-1),
54
+ myIndex(-1),
55
+ myTolerance(0)
56
+ {
57
+ SetPaveBlocks(thePB1, thePB2);
58
+ }
59
+
60
+ //
61
+ /**
62
+ * Destructor
63
+ */
64
+ ~BOPDS_CoupleOfPaveBlocks() {}
65
+
66
+ //
67
+ /**
68
+ * Sets an index
69
+ * @param theIndex
70
+ * index
71
+ */
72
+ void SetIndex(const Standard_Integer theIndex) { myIndex = theIndex; }
73
+
74
+ //
75
+ /**
76
+ * Returns the index
77
+ * @return
78
+ * index
79
+ */
80
+ Standard_Integer Index() const { return myIndex; }
81
+
82
+ //
83
+ /**
84
+ * Sets an index of an interference
85
+ * @param theIndex
86
+ * index of an interference
87
+ */
88
+ void SetIndexInterf(const Standard_Integer theIndex) { myIndexInterf = theIndex; }
89
+
90
+ //
91
+ /**
92
+ * Returns the index of an interference
93
+ * @return
94
+ * index of an interference
95
+ */
96
+ Standard_Integer IndexInterf() const { return myIndexInterf; }
97
+
98
+ //
99
+ /**
100
+ * Sets pave blocks
101
+ * @param thePB1
102
+ * first pave block
103
+ * @param thePB2
104
+ * secondt pave block
105
+ */
106
+ void SetPaveBlocks(const Handle(BOPDS_PaveBlock)& thePB1, const Handle(BOPDS_PaveBlock)& thePB2)
107
+ {
108
+ myPB[0] = thePB1;
109
+ myPB[1] = thePB2;
110
+ }
111
+
112
+ //
113
+ /**
114
+ * Returns pave blocks
115
+ * @param thePB1
116
+ * the first pave block
117
+ * @param thePB2
118
+ * the second pave block
119
+ */
120
+ void PaveBlocks(Handle(BOPDS_PaveBlock)& thePB1, Handle(BOPDS_PaveBlock)& thePB2) const
121
+ {
122
+ thePB1 = myPB[0];
123
+ thePB2 = myPB[1];
124
+ }
125
+
126
+ //
127
+ /**
128
+ * Sets the first pave block
129
+ * @param thePB
130
+ * the first pave block
131
+ */
132
+ void SetPaveBlock1(const Handle(BOPDS_PaveBlock)& thePB) { myPB[0] = thePB; }
133
+
134
+ /**
135
+ * Returns the first pave block
136
+ * @return
137
+ * the first pave block
138
+ */
139
+ const Handle(BOPDS_PaveBlock)& PaveBlock1() const { return myPB[0]; }
140
+
141
+ //
142
+ /**
143
+ * Sets the second pave block
144
+ * @param thePB
145
+ * the second pave block
146
+ */
147
+ void SetPaveBlock2(const Handle(BOPDS_PaveBlock)& thePB) { myPB[1] = thePB; }
148
+
149
+ //
150
+ /**
151
+ * Returns the second pave block
152
+ * @return
153
+ * the second pave block
154
+ */
155
+ const Handle(BOPDS_PaveBlock)& PaveBlock2() const { return myPB[1]; }
156
+
157
+ /**
158
+ * Sets the tolerance associated with this couple
159
+ */
160
+ void SetTolerance(const Standard_Real theTol) { myTolerance = theTol; }
161
+
162
+ //
163
+ /**
164
+ * Returns the tolerance associated with this couple
165
+ */
166
+ Standard_Real Tolerance() const { return myTolerance; }
167
+
168
+ protected:
169
+ Standard_Integer myIndexInterf;
170
+ Standard_Integer myIndex;
171
+ Handle(BOPDS_PaveBlock) myPB[2];
172
+ Standard_Real myTolerance;
173
+ };
174
+
175
+ //
176
+ #endif
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPDS_MapOfPave.hxx ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created by: Eugeny MALTCHIKOV
2
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
3
+ //
4
+ // This file is part of Open CASCADE Technology software library.
5
+ //
6
+ // This library is free software; you can redistribute it and/or modify it under
7
+ // the terms of the GNU Lesser General Public License version 2.1 as published
8
+ // by the Free Software Foundation, with special exception defined in the file
9
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10
+ // distribution for complete text of the license and disclaimer of any warranty.
11
+ //
12
+ // Alternatively, this file may be used under the terms of Open CASCADE
13
+ // commercial license or contractual agreement.
14
+
15
+ #ifndef BOPDS_MapOfPave_HeaderFile
16
+ #define BOPDS_MapOfPave_HeaderFile
17
+
18
+ #include <NCollection_Map.hxx>
19
+ #include <BOPDS_Pave.hxx>
20
+
21
+ typedef NCollection_Map<BOPDS_Pave> BOPDS_MapOfPave;
22
+ typedef BOPDS_MapOfPave::Iterator BOPDS_MapIteratorOfMapOfPave;
23
+
24
+ #endif
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPTools_BoxSelector.hxx ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created by: Eugeny MALTCHIKOV
2
+ // Copyright (c) 2017 OPEN CASCADE SAS
3
+ //
4
+ // This file is part of Open CASCADE Technology software library.
5
+ //
6
+ // This library is free software; you can redistribute it and/or modify it under
7
+ // the terms of the GNU Lesser General Public License version 2.1 as published
8
+ // by the Free Software Foundation, with special exception defined in the file
9
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10
+ // distribution for complete text of the license and disclaimer of any warranty.
11
+ //
12
+ // Alternatively, this file may be used under the terms of Open CASCADE
13
+ // commercial license or contractual agreement.
14
+
15
+ #ifndef BOPTools_BoxSelector_HeaderFile
16
+ #define BOPTools_BoxSelector_HeaderFile
17
+
18
+ #include <BVH_Traverse.hxx>
19
+ #include <BVH_BoxSet.hxx>
20
+
21
+ #include <Standard_Integer.hxx>
22
+ #include <TColStd_ListOfInteger.hxx>
23
+
24
+ //! Template Selector for elements selection from BVH tree.
25
+ template <int Dimension>
26
+ class BOPTools_BoxSelector
27
+ : public BVH_Traverse<Standard_Real,
28
+ Dimension,
29
+ BVH_BoxSet<Standard_Real, Dimension, Standard_Integer>,
30
+ Standard_Boolean>
31
+ {
32
+ public:
33
+ typedef typename BVH::VectorType<Standard_Real, Dimension>::Type BVH_VecNd;
34
+
35
+ public: //! @name Constructor
36
+ //! Empty constructor
37
+ BOPTools_BoxSelector() {};
38
+
39
+ public: //! @name public interfaces
40
+ //! Clears the indices
41
+ void Clear() { myIndices.Clear(); }
42
+
43
+ //! Sets the box
44
+ void SetBox(const BVH_Box<Standard_Real, Dimension>& theBox) { myBox = theBox; }
45
+
46
+ //! Returns the list of accepted indices
47
+ const TColStd_ListOfInteger& Indices() const { return myIndices; }
48
+
49
+ public: //! @name Rejection/Acceptance rules
50
+ //! Checks if the box should be rejected
51
+ virtual Standard_Boolean RejectNode(const BVH_VecNd& theCMin,
52
+ const BVH_VecNd& theCMax,
53
+ Standard_Boolean& theIsInside) const Standard_OVERRIDE
54
+ {
55
+ Standard_Boolean hasOverlap;
56
+ theIsInside = myBox.Contains(theCMin, theCMax, hasOverlap);
57
+ return !hasOverlap;
58
+ }
59
+
60
+ //! Checks if the element should be rejected
61
+ Standard_Boolean RejectElement(const Standard_Integer theIndex)
62
+ {
63
+ return myBox.IsOut(this->myBVHSet->Box(theIndex));
64
+ }
65
+
66
+ //! Checks if the metric of the node may be accepted
67
+ virtual Standard_Boolean AcceptMetric(const Standard_Boolean& theIsInside) const Standard_OVERRIDE
68
+ {
69
+ return theIsInside;
70
+ }
71
+
72
+ //! Accepts the element with the index <theIndex> in BVH tree
73
+ virtual Standard_Boolean Accept(const Standard_Integer theIndex,
74
+ const Standard_Boolean& theIsInside) Standard_OVERRIDE
75
+ {
76
+ if (theIsInside || !RejectElement(theIndex))
77
+ {
78
+ myIndices.Append(this->myBVHSet->Element(theIndex));
79
+ return Standard_True;
80
+ }
81
+ return Standard_False;
82
+ }
83
+
84
+ protected: //! @name Fields
85
+ BVH_Box<Standard_Real, Dimension> myBox; //!< Selection box
86
+ TColStd_ListOfInteger myIndices; //!< Selected indices
87
+ };
88
+
89
+ #endif
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox.hxx ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1995-06-06
2
+ // Created by: Jean Yves LEBEY
3
+ // Copyright (c) 1995-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox_HeaderFile
18
+ #define _BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox_HeaderFile
19
+
20
+ #include <Standard.hxx>
21
+ #include <Standard_DefineAlloc.hxx>
22
+ #include <Standard_Handle.hxx>
23
+
24
+ #include <AppParCurves_Constraint.hxx>
25
+ #include <AppParCurves_MultiBSpCurve.hxx>
26
+ #include <TColStd_HArray1OfReal.hxx>
27
+ #include <TColStd_HArray1OfInteger.hxx>
28
+ #include <math_Matrix.hxx>
29
+ #include <math_Vector.hxx>
30
+ #include <math_IntegerVector.hxx>
31
+ #include <Standard_Real.hxx>
32
+ #include <Standard_Integer.hxx>
33
+ #include <TColStd_Array1OfReal.hxx>
34
+ #include <TColStd_Array1OfInteger.hxx>
35
+ class StdFail_NotDone;
36
+ class Standard_OutOfRange;
37
+ class Standard_DimensionError;
38
+ class Standard_NoSuchObject;
39
+ class BRepApprox_TheMultiLineOfApprox;
40
+ class BRepApprox_TheMultiLineToolOfApprox;
41
+ class AppParCurves_MultiCurve;
42
+ class AppParCurves_MultiBSpCurve;
43
+ class math_Matrix;
44
+
45
+ class BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox
46
+ {
47
+ public:
48
+ DEFINE_STANDARD_ALLOC
49
+
50
+ //! given a MultiLine, this algorithm computes the least
51
+ //! square resolution using the Householder-QR method.
52
+ //! If the first and/or the last point is a constraint
53
+ //! point, the value of the tangency or curvature is
54
+ //! computed in the resolution.
55
+ //! NbPol is the number of control points wanted
56
+ //! for the approximating curves.
57
+ //! The system to solve is the following:
58
+ //! A X = B.
59
+ //! Where A is the Bernstein matrix computed with the
60
+ //! parameters, B the points coordinates and X the poles
61
+ //! solutions.
62
+ //! The matrix A is the same for each coordinate x, y and z
63
+ //! and is also the same for each MultiLine point because
64
+ //! they are approximated in parallel(so with the same
65
+ //! parameter, only the vector B changes).
66
+ Standard_EXPORT BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox(
67
+ const BRepApprox_TheMultiLineOfApprox& SSP,
68
+ const Standard_Integer FirstPoint,
69
+ const Standard_Integer LastPoint,
70
+ const AppParCurves_Constraint FirstCons,
71
+ const AppParCurves_Constraint LastCons,
72
+ const math_Vector& Parameters,
73
+ const Standard_Integer NbPol);
74
+
75
+ //! Initializes the fields of the object.
76
+ Standard_EXPORT BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox(
77
+ const BRepApprox_TheMultiLineOfApprox& SSP,
78
+ const Standard_Integer FirstPoint,
79
+ const Standard_Integer LastPoint,
80
+ const AppParCurves_Constraint FirstCons,
81
+ const AppParCurves_Constraint LastCons,
82
+ const Standard_Integer NbPol);
83
+
84
+ //! given a MultiLine, this algorithm computes the least
85
+ //! square resolution using the Householder-QR method.
86
+ //! If the first and/or the last point is a constraint
87
+ //! point, the value of the tangency or curvature is
88
+ //! computed in the resolution.
89
+ //! Deg is the degree wanted for the approximating curves.
90
+ //! The system to solve is the following:
91
+ //! A X = B.
92
+ //! Where A is the BSpline functions matrix computed with
93
+ //! <parameters>, B the points coordinates and X the poles
94
+ //! solutions.
95
+ //! The matrix A is the same for each coordinate x, y and z
96
+ //! and is also the same for each MultiLine point because
97
+ //! they are approximated in parallel(so with the same
98
+ //! parameter, only the vector B changes).
99
+ Standard_EXPORT BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox(
100
+ const BRepApprox_TheMultiLineOfApprox& SSP,
101
+ const TColStd_Array1OfReal& Knots,
102
+ const TColStd_Array1OfInteger& Mults,
103
+ const Standard_Integer FirstPoint,
104
+ const Standard_Integer LastPoint,
105
+ const AppParCurves_Constraint FirstCons,
106
+ const AppParCurves_Constraint LastCons,
107
+ const math_Vector& Parameters,
108
+ const Standard_Integer NbPol);
109
+
110
+ //! Initializes the fields of the object.
111
+ Standard_EXPORT BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox(
112
+ const BRepApprox_TheMultiLineOfApprox& SSP,
113
+ const TColStd_Array1OfReal& Knots,
114
+ const TColStd_Array1OfInteger& Mults,
115
+ const Standard_Integer FirstPoint,
116
+ const Standard_Integer LastPoint,
117
+ const AppParCurves_Constraint FirstCons,
118
+ const AppParCurves_Constraint LastCons,
119
+ const Standard_Integer NbPol);
120
+
121
+ //! Is used after having initialized the fields.
122
+ //! The case "CurvaturePoint" is not treated in this method.
123
+ Standard_EXPORT void Perform(const math_Vector& Parameters);
124
+
125
+ //! Is used after having initialized the fields.
126
+ Standard_EXPORT void Perform(const math_Vector& Parameters,
127
+ const Standard_Real l1,
128
+ const Standard_Real l2);
129
+
130
+ //! Is used after having initialized the fields.
131
+ //! <V1t> is the tangent vector at the first point.
132
+ //! <V2t> is the tangent vector at the last point.
133
+ Standard_EXPORT void Perform(const math_Vector& Parameters,
134
+ const math_Vector& V1t,
135
+ const math_Vector& V2t,
136
+ const Standard_Real l1,
137
+ const Standard_Real l2);
138
+
139
+ //! Is used after having initialized the fields.
140
+ //! <V1t> is the tangent vector at the first point.
141
+ //! <V2t> is the tangent vector at the last point.
142
+ //! <V1c> is the tangent vector at the first point.
143
+ //! <V2c> is the tangent vector at the last point.
144
+ Standard_EXPORT void Perform(const math_Vector& Parameters,
145
+ const math_Vector& V1t,
146
+ const math_Vector& V2t,
147
+ const math_Vector& V1c,
148
+ const math_Vector& V2c,
149
+ const Standard_Real l1,
150
+ const Standard_Real l2);
151
+
152
+ //! returns True if all has been correctly done.
153
+ Standard_EXPORT Standard_Boolean IsDone() const;
154
+
155
+ //! returns the result of the approximation, i.e. all the
156
+ //! Curves.
157
+ //! An exception is raised if NotDone.
158
+ Standard_EXPORT AppParCurves_MultiCurve BezierValue();
159
+
160
+ //! returns the result of the approximation, i.e. all the
161
+ //! Curves.
162
+ //! An exception is raised if NotDone.
163
+ Standard_EXPORT const AppParCurves_MultiBSpCurve& BSplineValue();
164
+
165
+ //! returns the function matrix used to approximate the
166
+ //! set.
167
+ Standard_EXPORT const math_Matrix& FunctionMatrix() const;
168
+
169
+ //! returns the derivative function matrix used
170
+ //! to approximate the set.
171
+ Standard_EXPORT const math_Matrix& DerivativeFunctionMatrix() const;
172
+
173
+ //! returns the maximum errors between the MultiLine
174
+ //! and the approximation curves. F is the sum of the square
175
+ //! distances. Grad is the derivative vector of the
176
+ //! function F.
177
+ Standard_EXPORT void ErrorGradient(math_Vector& Grad,
178
+ Standard_Real& F,
179
+ Standard_Real& MaxE3d,
180
+ Standard_Real& MaxE2d);
181
+
182
+ //! returns the distances between the points of the
183
+ //! multiline and the approximation curves.
184
+ Standard_EXPORT const math_Matrix& Distance();
185
+
186
+ //! returns the maximum errors between the MultiLine
187
+ //! and the approximation curves. F is the sum of the square
188
+ //! distances.
189
+ Standard_EXPORT void Error(Standard_Real& F, Standard_Real& MaxE3d, Standard_Real& MaxE2d);
190
+
191
+ //! returns the value (P2 - P1)/ V1 if the first point
192
+ //! was a tangency point.
193
+ Standard_EXPORT Standard_Real FirstLambda() const;
194
+
195
+ //! returns the value (PN - PN-1)/ VN if the last point
196
+ //! was a tangency point.
197
+ Standard_EXPORT Standard_Real LastLambda() const;
198
+
199
+ //! returns the matrix of points value.
200
+ Standard_EXPORT const math_Matrix& Points() const;
201
+
202
+ //! returns the matrix of resulting control points value.
203
+ Standard_EXPORT const math_Matrix& Poles() const;
204
+
205
+ //! Returns the indexes of the first non null values of
206
+ //! A and DA.
207
+ //! The values are non null from Index(ieme point) +1
208
+ //! to Index(ieme point) + degree +1.
209
+ Standard_EXPORT const math_IntegerVector& KIndex() const;
210
+
211
+ protected:
212
+ //! is used by the constructors above.
213
+ Standard_EXPORT void Init(const BRepApprox_TheMultiLineOfApprox& SSP,
214
+ const Standard_Integer FirstPoint,
215
+ const Standard_Integer LastPoint);
216
+
217
+ //! returns the number of second member columns.
218
+ //! Is used internally to initialize the fields.
219
+ Standard_EXPORT Standard_Integer NbBColumns(const BRepApprox_TheMultiLineOfApprox& SSP) const;
220
+
221
+ //! returns the first point being fitted.
222
+ Standard_EXPORT Standard_Integer TheFirstPoint(const AppParCurves_Constraint FirstCons,
223
+ const Standard_Integer FirstPoint) const;
224
+
225
+ //! returns the last point being fitted.
226
+ Standard_EXPORT Standard_Integer TheLastPoint(const AppParCurves_Constraint LastCons,
227
+ const Standard_Integer LastPoint) const;
228
+
229
+ //! Affects the fields in the case of a constraint point.
230
+ Standard_EXPORT void Affect(const BRepApprox_TheMultiLineOfApprox& SSP,
231
+ const Standard_Integer Index,
232
+ AppParCurves_Constraint& Cons,
233
+ math_Vector& Vt,
234
+ math_Vector& Vc);
235
+
236
+ Standard_EXPORT void ComputeFunction(const math_Vector& Parameters);
237
+
238
+ Standard_EXPORT void SearchIndex(math_IntegerVector& Index);
239
+
240
+ //! computes internal matrixes for the resolution
241
+ Standard_EXPORT void MakeTAA(math_Vector& TheA, math_Vector& TheB);
242
+
243
+ //! computes internal matrixes for the resolution
244
+ Standard_EXPORT void MakeTAA(math_Vector& TheA);
245
+
246
+ //! computes internal matrixes for the resolution
247
+ Standard_EXPORT void MakeTAA(math_Vector& TheA, math_Matrix& TheB);
248
+
249
+ private:
250
+ AppParCurves_Constraint FirstConstraint;
251
+ AppParCurves_Constraint LastConstraint;
252
+ AppParCurves_MultiBSpCurve SCU;
253
+ Handle(TColStd_HArray1OfReal) myknots;
254
+ Handle(TColStd_HArray1OfInteger) mymults;
255
+ math_Matrix mypoles;
256
+ math_Matrix A;
257
+ math_Matrix DA;
258
+ math_Matrix B2;
259
+ math_Matrix mypoints;
260
+ math_Vector Vflatknots;
261
+ math_Vector Vec1t;
262
+ math_Vector Vec1c;
263
+ math_Vector Vec2t;
264
+ math_Vector Vec2c;
265
+ math_Matrix theError;
266
+ math_IntegerVector myindex;
267
+ Standard_Real lambda1;
268
+ Standard_Real lambda2;
269
+ Standard_Integer FirstP;
270
+ Standard_Integer LastP;
271
+ Standard_Integer Nlignes;
272
+ Standard_Integer Ninc;
273
+ Standard_Integer NA;
274
+ Standard_Integer myfirstp;
275
+ Standard_Integer mylastp;
276
+ Standard_Integer resinit;
277
+ Standard_Integer resfin;
278
+ Standard_Integer nbP2d;
279
+ Standard_Integer nbP;
280
+ Standard_Integer nbpoles;
281
+ Standard_Integer deg;
282
+ Standard_Boolean done;
283
+ Standard_Boolean iscalculated;
284
+ Standard_Boolean isready;
285
+ };
286
+
287
+ #endif // _BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_CSConstRad.hxx ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1993-12-06
2
+ // Created by: Jacques GOUSSARD
3
+ // Copyright (c) 1993-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _BRepBlend_CSConstRad_HeaderFile
18
+ #define _BRepBlend_CSConstRad_HeaderFile
19
+
20
+ #include <BlendFunc_CSConstRad.hxx>
21
+
22
+ typedef BlendFunc_CSConstRad BRepBlend_CSConstRad;
23
+
24
+ #endif // _BRepBlend_CSConstRad_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_Extremity.lxx ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright (c) 1995-1999 Matra Datavision
2
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
3
+ //
4
+ // This file is part of Open CASCADE Technology software library.
5
+ //
6
+ // This library is free software; you can redistribute it and/or modify it under
7
+ // the terms of the GNU Lesser General Public License version 2.1 as published
8
+ // by the Free Software Foundation, with special exception defined in the file
9
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10
+ // distribution for complete text of the license and disclaimer of any warranty.
11
+ //
12
+ // Alternatively, this file may be used under the terms of Open CASCADE
13
+ // commercial license or contractual agreement.
14
+
15
+ #include <Standard_DomainError.hxx>
16
+
17
+ inline const gp_Pnt& BRepBlend_Extremity::Value() const
18
+ {
19
+ return pt;
20
+ }
21
+
22
+ inline void BRepBlend_Extremity::SetTangent(const gp_Vec& Tangent)
23
+ {
24
+ hastang = Standard_True;
25
+ tang = Tangent;
26
+ }
27
+
28
+ inline Standard_Boolean BRepBlend_Extremity::HasTangent() const
29
+ {
30
+ return hastang;
31
+ }
32
+
33
+ inline const gp_Vec& BRepBlend_Extremity::Tangent() const
34
+ {
35
+ if (!hastang)
36
+ {
37
+ throw Standard_DomainError();
38
+ }
39
+ return tang;
40
+ }
41
+
42
+ inline void BRepBlend_Extremity::Parameters(Standard_Real& U, Standard_Real& V) const
43
+ {
44
+ U = u;
45
+ V = v;
46
+ }
47
+
48
+ inline Standard_Real BRepBlend_Extremity::Tolerance() const
49
+ {
50
+ return tol;
51
+ }
52
+
53
+ inline Standard_Boolean BRepBlend_Extremity::IsVertex() const
54
+ {
55
+ return isvtx;
56
+ }
57
+
58
+ inline const Handle(Adaptor3d_HVertex)& BRepBlend_Extremity::Vertex() const
59
+ {
60
+ if (!isvtx)
61
+ {
62
+ throw Standard_DomainError();
63
+ }
64
+ return vtx;
65
+ }
66
+
67
+ inline Standard_Integer BRepBlend_Extremity::NbPointOnRst() const
68
+ {
69
+ return seqpt.Length();
70
+ }
71
+
72
+ inline const BRepBlend_PointOnRst& BRepBlend_Extremity::PointOnRst(
73
+ const Standard_Integer Index) const
74
+ {
75
+ return seqpt(Index);
76
+ }
77
+
78
+ inline Standard_Real BRepBlend_Extremity::Parameter() const
79
+
80
+ {
81
+ return u;
82
+ }
83
+
84
+ inline Standard_Real BRepBlend_Extremity::ParameterOnGuide() const
85
+
86
+ {
87
+ return param;
88
+ }
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_HCurveTool.lxx ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1992-10-22
2
+ // Created by: Laurent BUCHARD
3
+ // Copyright (c) 1992-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #include <GeomAbs_CurveType.hxx>
18
+ #include <GeomAbs_Shape.hxx>
19
+
20
+ #include <gp_Vec.hxx>
21
+ #include <gp_Lin.hxx>
22
+ #include <gp_Circ.hxx>
23
+ #include <gp_Elips.hxx>
24
+ #include <gp_Parab.hxx>
25
+ #include <gp_Hypr.hxx>
26
+
27
+ #include <Geom_BezierCurve.hxx>
28
+ #include <Geom_BSplineCurve.hxx>
29
+
30
+ #include <TColStd_Array1OfReal.hxx>
31
+
32
+ //============================================================
33
+ inline Standard_Real BRepBlend_HCurveTool::FirstParameter(const Handle(Adaptor3d_Curve)& C)
34
+ {
35
+ return (C->FirstParameter());
36
+ }
37
+
38
+ //============================================================
39
+ inline Standard_Real BRepBlend_HCurveTool::LastParameter(const Handle(Adaptor3d_Curve)& C)
40
+ {
41
+ return (C->LastParameter());
42
+ }
43
+
44
+ //============================================================
45
+ inline GeomAbs_Shape BRepBlend_HCurveTool::Continuity(const Handle(Adaptor3d_Curve)& C)
46
+ {
47
+ return (C->Continuity());
48
+ }
49
+
50
+ //============================================================
51
+ inline Standard_Integer BRepBlend_HCurveTool::NbIntervals(const Handle(Adaptor3d_Curve)& C,
52
+ const GeomAbs_Shape Sh)
53
+ {
54
+ return (C->NbIntervals(Sh));
55
+ }
56
+
57
+ //============================================================
58
+ inline void BRepBlend_HCurveTool::Intervals(const Handle(Adaptor3d_Curve)& C,
59
+ TColStd_Array1OfReal& Tab,
60
+ const GeomAbs_Shape Sh)
61
+ {
62
+ C->Intervals(Tab, Sh);
63
+ }
64
+
65
+ //============================================================
66
+ inline Standard_Boolean BRepBlend_HCurveTool::IsClosed(const Handle(Adaptor3d_Curve)& C)
67
+ {
68
+ return (C->IsClosed());
69
+ }
70
+
71
+ //============================================================
72
+ inline Standard_Boolean BRepBlend_HCurveTool::IsPeriodic(const Handle(Adaptor3d_Curve)& C)
73
+ {
74
+ return (C->IsPeriodic());
75
+ }
76
+
77
+ //============================================================
78
+ inline Standard_Real BRepBlend_HCurveTool::Period(const Handle(Adaptor3d_Curve)& C)
79
+ {
80
+ return (C->Period());
81
+ }
82
+
83
+ //============================================================
84
+ inline gp_Pnt BRepBlend_HCurveTool::Value(const Handle(Adaptor3d_Curve)& C, const Standard_Real U)
85
+ {
86
+ return (C->Value(U));
87
+ }
88
+
89
+ //============================================================
90
+ inline void BRepBlend_HCurveTool::D0(const Handle(Adaptor3d_Curve)& C,
91
+ const Standard_Real U,
92
+ gp_Pnt& P)
93
+ {
94
+ C->D0(U, P);
95
+ }
96
+
97
+ //============================================================
98
+ inline void BRepBlend_HCurveTool::D1(const Handle(Adaptor3d_Curve)& C,
99
+ const Standard_Real U,
100
+ gp_Pnt& P,
101
+ gp_Vec& T)
102
+ {
103
+ C->D1(U, P, T);
104
+ }
105
+
106
+ //============================================================
107
+ inline void BRepBlend_HCurveTool::D2(const Handle(Adaptor3d_Curve)& C,
108
+ const Standard_Real U,
109
+ gp_Pnt& P,
110
+ gp_Vec& T,
111
+ gp_Vec& N)
112
+ {
113
+
114
+ C->D2(U, P, T, N);
115
+ }
116
+
117
+ //============================================================
118
+ inline void BRepBlend_HCurveTool::D3(const Handle(Adaptor3d_Curve)& C,
119
+ const Standard_Real U,
120
+ gp_Pnt& P,
121
+ gp_Vec& V1,
122
+ gp_Vec& V2,
123
+ gp_Vec& V3)
124
+ {
125
+
126
+ C->D3(U, P, V1, V2, V3);
127
+ }
128
+
129
+ //============================================================
130
+ inline gp_Vec BRepBlend_HCurveTool::DN(const Handle(Adaptor3d_Curve)& C,
131
+ const Standard_Real U,
132
+ const Standard_Integer N)
133
+ {
134
+
135
+ return (C->DN(U, N));
136
+ }
137
+
138
+ //============================================================
139
+ inline Standard_Real BRepBlend_HCurveTool::Resolution(const Handle(Adaptor3d_Curve)& C,
140
+ const Standard_Real R3d)
141
+ {
142
+ return (C->Resolution(R3d));
143
+ }
144
+
145
+ //============================================================
146
+ inline GeomAbs_CurveType BRepBlend_HCurveTool::GetType(const Handle(Adaptor3d_Curve)& C)
147
+ {
148
+ return (C->GetType());
149
+ }
150
+
151
+ //============================================================
152
+ inline gp_Lin BRepBlend_HCurveTool::Line(const Handle(Adaptor3d_Curve)& C)
153
+ {
154
+ return (C->Line());
155
+ }
156
+
157
+ //============================================================
158
+ inline gp_Circ BRepBlend_HCurveTool::Circle(const Handle(Adaptor3d_Curve)& C)
159
+ {
160
+ return (C->Circle());
161
+ }
162
+
163
+ //============================================================
164
+ inline gp_Elips BRepBlend_HCurveTool::Ellipse(const Handle(Adaptor3d_Curve)& C)
165
+ {
166
+ return (C->Ellipse());
167
+ }
168
+
169
+ //============================================================
170
+ inline gp_Parab BRepBlend_HCurveTool::Parabola(const Handle(Adaptor3d_Curve)& C)
171
+ {
172
+ return (C->Parabola());
173
+ }
174
+
175
+ //============================================================
176
+ inline gp_Hypr BRepBlend_HCurveTool::Hyperbola(const Handle(Adaptor3d_Curve)& C)
177
+ {
178
+ return (C->Hyperbola());
179
+ }
180
+
181
+ //============================================================
182
+ inline Handle(Geom_BezierCurve) BRepBlend_HCurveTool::Bezier(const Handle(Adaptor3d_Curve)& C)
183
+ {
184
+ return (C->Bezier());
185
+ }
186
+
187
+ //============================================================
188
+ inline Handle(Geom_BSplineCurve) BRepBlend_HCurveTool::BSpline(const Handle(Adaptor3d_Curve)& C)
189
+ {
190
+ return (C->BSpline());
191
+ }
192
+
193
+ //============================================================
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_Line.lxx ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright (c) 1995-1999 Matra Datavision
2
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
3
+ //
4
+ // This file is part of Open CASCADE Technology software library.
5
+ //
6
+ // This library is free software; you can redistribute it and/or modify it under
7
+ // the terms of the GNU Lesser General Public License version 2.1 as published
8
+ // by the Free Software Foundation, with special exception defined in the file
9
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10
+ // distribution for complete text of the license and disclaimer of any warranty.
11
+ //
12
+ // Alternatively, this file may be used under the terms of Open CASCADE
13
+ // commercial license or contractual agreement.
14
+
15
+ #include <Blend_SequenceOfPoint.hxx>
16
+ #include <Standard_DomainError.hxx>
17
+
18
+ inline void BRepBlend_Line::Append(const Blend_Point& P)
19
+ {
20
+ seqpt.Append(P);
21
+ }
22
+
23
+ inline void BRepBlend_Line::Prepend(const Blend_Point& P)
24
+ {
25
+ seqpt.Prepend(P);
26
+ }
27
+
28
+ inline void BRepBlend_Line::InsertBefore(const Standard_Integer Index, const Blend_Point& P)
29
+ {
30
+ seqpt.InsertBefore(Index, P);
31
+ }
32
+
33
+ inline void BRepBlend_Line::Remove(const Standard_Integer FromIndex, const Standard_Integer ToIndex)
34
+ {
35
+ seqpt.Remove(FromIndex, ToIndex);
36
+ }
37
+
38
+ inline void BRepBlend_Line::SetStartPoints(const BRepBlend_Extremity& StartPtOnS1,
39
+ const BRepBlend_Extremity& StartPtOnS2)
40
+
41
+ {
42
+ stp1 = StartPtOnS1;
43
+ stp2 = StartPtOnS2;
44
+ }
45
+
46
+ inline void BRepBlend_Line::SetEndPoints(const BRepBlend_Extremity& EndPtOnS1,
47
+ const BRepBlend_Extremity& EndPtOnS2)
48
+
49
+ {
50
+ endp1 = EndPtOnS1;
51
+ endp2 = EndPtOnS2;
52
+ }
53
+
54
+ inline Standard_Integer BRepBlend_Line::NbPoints() const
55
+ {
56
+ return seqpt.Length();
57
+ }
58
+
59
+ inline const Blend_Point& BRepBlend_Line::Point(const Standard_Integer Index) const
60
+ {
61
+ return seqpt(Index);
62
+ }
63
+
64
+ inline IntSurf_TypeTrans BRepBlend_Line::TransitionOnS1() const
65
+ {
66
+ if (!hass1)
67
+ {
68
+ throw Standard_DomainError();
69
+ }
70
+ return tras1;
71
+ }
72
+
73
+ inline IntSurf_TypeTrans BRepBlend_Line::TransitionOnS2() const
74
+ {
75
+ if (!hass2)
76
+ {
77
+ throw Standard_DomainError();
78
+ }
79
+ return tras2;
80
+ }
81
+
82
+ inline const BRepBlend_Extremity& BRepBlend_Line::StartPointOnFirst() const
83
+ {
84
+ return stp1;
85
+ }
86
+
87
+ inline const BRepBlend_Extremity& BRepBlend_Line::StartPointOnSecond() const
88
+ {
89
+ return stp2;
90
+ }
91
+
92
+ inline const BRepBlend_Extremity& BRepBlend_Line::EndPointOnFirst() const
93
+ {
94
+ return endp1;
95
+ }
96
+
97
+ inline const BRepBlend_Extremity& BRepBlend_Line::EndPointOnSecond() const
98
+ {
99
+ return endp2;
100
+ }
101
+
102
+ inline IntSurf_TypeTrans BRepBlend_Line::TransitionOnS() const
103
+ {
104
+ if (!hass1)
105
+ {
106
+ throw Standard_DomainError();
107
+ }
108
+ return tras1;
109
+ }
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBuilderAPI_MakeWire.hxx ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1993-07-08
2
+ // Created by: Remi LEQUETTE
3
+ // Copyright (c) 1993-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _BRepBuilderAPI_MakeWire_HeaderFile
18
+ #define _BRepBuilderAPI_MakeWire_HeaderFile
19
+
20
+ #include <Standard.hxx>
21
+ #include <Standard_DefineAlloc.hxx>
22
+ #include <Standard_Handle.hxx>
23
+
24
+ #include <BRepLib_MakeWire.hxx>
25
+ #include <BRepBuilderAPI_MakeShape.hxx>
26
+ #include <TopTools_ListOfShape.hxx>
27
+ #include <BRepBuilderAPI_WireError.hxx>
28
+ class TopoDS_Edge;
29
+ class TopoDS_Wire;
30
+ class TopoDS_Vertex;
31
+
32
+ //! Describes functions to build wires from edges. A wire can
33
+ //! be built from any number of edges.
34
+ //! To build a wire you first initialize the construction, then
35
+ //! add edges in sequence. An unlimited number of edges
36
+ //! can be added. The initialization of construction is done with:
37
+ //! - no edge (an empty wire), or
38
+ //! - edges of an existing wire, or
39
+ //! - up to four connectable edges.
40
+ //! In order to be added to a wire under construction, an
41
+ //! edge (unless it is the first one) must satisfy the following
42
+ //! condition: one of its vertices must be geometrically
43
+ //! coincident with one of the vertices of the wire (provided
44
+ //! that the highest tolerance factor is assigned to the two
45
+ //! vertices). It could also be the same vertex.
46
+ //! - The given edge is shared by the wire if it contains:
47
+ //! - two vertices, identical to two vertices of the wire
48
+ //! under construction (a general case of the wire closure), or
49
+ //! - one vertex, identical to a vertex of the wire under
50
+ //! construction; the other vertex not being
51
+ //! geometrically coincident with another vertex of the wire.
52
+ //! - In other cases, when one of the vertices of the edge
53
+ //! is simply geometrically coincident with a vertex of the
54
+ //! wire under construction (provided that the highest
55
+ //! tolerance factor is assigned to the two vertices), the
56
+ //! given edge is first copied and the coincident vertex is
57
+ //! replaced in this new edge, by the coincident vertex of the wire.
58
+ //! Note: it is possible to build non manifold wires using this construction tool.
59
+ //! A MakeWire object provides a framework for:
60
+ //! - initializing the construction of a wire,
61
+ //! - adding edges to the wire under construction, and
62
+ //! - consulting the result.
63
+ class BRepBuilderAPI_MakeWire : public BRepBuilderAPI_MakeShape
64
+ {
65
+ public:
66
+ DEFINE_STANDARD_ALLOC
67
+
68
+ //! Constructs an empty wire framework, to which edges
69
+ //! are added using the Add function.
70
+ //! As soon as the wire contains one edge, it can return
71
+ //! with the use of the function Wire.
72
+ //! Warning
73
+ //! The function Error will return
74
+ //! BRepBuilderAPI_EmptyWire if it is called before at
75
+ //! least one edge is added to the wire under construction.
76
+ Standard_EXPORT BRepBuilderAPI_MakeWire();
77
+
78
+ //! Make a Wire from an edge.
79
+ Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Edge& E);
80
+
81
+ //! Make a Wire from two edges.
82
+ Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Edge& E1, const TopoDS_Edge& E2);
83
+
84
+ //! Make a Wire from three edges.
85
+ Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Edge& E1,
86
+ const TopoDS_Edge& E2,
87
+ const TopoDS_Edge& E3);
88
+
89
+ //! Make a Wire from four edges.
90
+ //! Constructs a wire
91
+ //! - from the TopoDS_Wire W composed of the edge E, or
92
+ //! - from edge E, or
93
+ //! - from two edges E1 and E2, or
94
+ //! - from three edges E1, E2 and E3, or
95
+ //! - from four edges E1, E2, E3 and E4.
96
+ //! Further edges can be added using the function Add.
97
+ //! Given edges are added in a sequence. Each of them
98
+ //! must be connectable to the wire under construction,
99
+ //! and so must satisfy the following condition (unless it is
100
+ //! the first edge of the wire): one of its vertices must be
101
+ //! geometrically coincident with one of the vertices of the
102
+ //! wire (provided that the highest tolerance factor is
103
+ //! assigned to the two vertices). It could also be the same vertex.
104
+ //! Warning
105
+ //! If an edge is not connectable to the wire under
106
+ //! construction it is not added. The function Error will
107
+ //! return BRepBuilderAPI_DisconnectedWire, the
108
+ //! function IsDone will return false and the function Wire
109
+ //! will raise an error, until a new connectable edge is added.
110
+ Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Edge& E1,
111
+ const TopoDS_Edge& E2,
112
+ const TopoDS_Edge& E3,
113
+ const TopoDS_Edge& E4);
114
+
115
+ //! Make a Wire from a Wire. useful for adding later.
116
+ Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Wire& W);
117
+
118
+ //! Add an edge to a wire.
119
+ Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Wire& W, const TopoDS_Edge& E);
120
+
121
+ //! Adds the edge E to the wire under construction.
122
+ //! E must be connectable to the wire under construction, and, unless it
123
+ //! is the first edge of the wire, must satisfy the following
124
+ //! condition: one of its vertices must be geometrically coincident
125
+ //! with one of the vertices of the wire (provided that the highest
126
+ //! tolerance factor is assigned to the two vertices). It could also
127
+ //! be the same vertex.
128
+ //! Warning
129
+ //! If E is not connectable to the wire under construction it is not
130
+ //! added. The function Error will return
131
+ //! BRepBuilderAPI_DisconnectedWire, the function IsDone will return
132
+ //! false and the function Wire will raise an error, until a new
133
+ //! connectable edge is added.
134
+ Standard_EXPORT void Add(const TopoDS_Edge& E);
135
+
136
+ //! Add the edges of <W> to the current wire.
137
+ Standard_EXPORT void Add(const TopoDS_Wire& W);
138
+
139
+ //! Adds the edges of <L> to the current wire. The
140
+ //! edges are not to be consecutive. But they are to
141
+ //! be all connected geometrically or topologically.
142
+ //! If some of them are not connected the Status give
143
+ //! DisconnectedWire but the "Maker" is Done() and you
144
+ //! can get the partial result. (ie connected to the
145
+ //! first edgeof the list <L>)
146
+ Standard_EXPORT void Add(const TopTools_ListOfShape& L);
147
+
148
+ //! Returns true if this algorithm contains a valid wire.
149
+ //! IsDone returns false if:
150
+ //! - there are no edges in the wire, or
151
+ //! - the last edge which you tried to add was not connectable.
152
+ Standard_EXPORT virtual Standard_Boolean IsDone() const Standard_OVERRIDE;
153
+
154
+ //! Returns the construction status
155
+ //! - BRepBuilderAPI_WireDone if the wire is built, or
156
+ //! - another value of the BRepBuilderAPI_WireError
157
+ //! enumeration indicating why the construction failed.
158
+ Standard_EXPORT BRepBuilderAPI_WireError Error() const;
159
+
160
+ //! Returns the constructed wire; or the part of the wire
161
+ //! under construction already built.
162
+ //! Exceptions StdFail_NotDone if a wire is not built.
163
+ Standard_EXPORT const TopoDS_Wire& Wire();
164
+ Standard_EXPORT operator TopoDS_Wire();
165
+
166
+ //! Returns the last edge added to the wire under construction.
167
+ //! Warning
168
+ //! - This edge can be different from the original one (the
169
+ //! argument of the function Add, for instance,)
170
+ //! - A null edge is returned if there are no edges in the
171
+ //! wire under construction, or if the last edge which you
172
+ //! tried to add was not connectable..
173
+ Standard_EXPORT const TopoDS_Edge& Edge() const;
174
+
175
+ //! Returns the last vertex of the last edge added to the
176
+ //! wire under construction.
177
+ //! Warning
178
+ //! A null vertex is returned if there are no edges in the wire
179
+ //! under construction, or if the last edge which you tried to
180
+ //! add was not connectableR
181
+ Standard_EXPORT const TopoDS_Vertex& Vertex() const;
182
+
183
+ protected:
184
+ private:
185
+ BRepLib_MakeWire myMakeWire;
186
+ };
187
+
188
+ #endif // _BRepBuilderAPI_MakeWire_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBuilderAPI_PipeError.hxx ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1993-07-06
2
+ // Created by: Remi LEQUETTE
3
+ // Copyright (c) 1993-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _BRepBuilderAPI_PipeError_HeaderFile
18
+ #define _BRepBuilderAPI_PipeError_HeaderFile
19
+
20
+ //! Errors that can occur at (shell)pipe construction.
21
+ enum BRepBuilderAPI_PipeError
22
+ {
23
+ BRepBuilderAPI_PipeDone,
24
+ BRepBuilderAPI_PipeNotDone,
25
+ BRepBuilderAPI_PlaneNotIntersectGuide,
26
+ BRepBuilderAPI_ImpossibleContact
27
+ };
28
+
29
+ #endif // _BRepBuilderAPI_PipeError_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepCheck.hxx ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1995-12-06
2
+ // Created by: Jacques GOUSSARD
3
+ // Copyright (c) 1995-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _BRepCheck_HeaderFile
18
+ #define _BRepCheck_HeaderFile
19
+
20
+ #include <Adaptor3d_Surface.hxx>
21
+ #include <BRepCheck_ListOfStatus.hxx>
22
+ #include <BRepCheck_Status.hxx>
23
+ #include <Standard_OStream.hxx>
24
+
25
+ class TopoDS_Wire;
26
+ class TopoDS_Face;
27
+ class TopoDS_Edge;
28
+ class Adaptor3d_Curve;
29
+
30
+ //! This package provides tools to check the validity
31
+ //! of the BRep.
32
+ class BRepCheck
33
+ {
34
+ public:
35
+ DEFINE_STANDARD_ALLOC
36
+
37
+ Standard_EXPORT static void Add(BRepCheck_ListOfStatus& List, const BRepCheck_Status Stat);
38
+
39
+ Standard_EXPORT static void Print(const BRepCheck_Status Stat, Standard_OStream& OS);
40
+
41
+ Standard_EXPORT static Standard_Boolean SelfIntersection(const TopoDS_Wire& W,
42
+ const TopoDS_Face& F,
43
+ TopoDS_Edge& E1,
44
+ TopoDS_Edge& E2);
45
+
46
+ //! Returns the resolution on the 3d curve
47
+ Standard_EXPORT static Standard_Real PrecCurve(const Adaptor3d_Curve& aAC3D);
48
+
49
+ //! Returns the resolution on the surface
50
+ Standard_EXPORT static Standard_Real PrecSurface(const Handle(Adaptor3d_Surface)& aAHSurf);
51
+ };
52
+
53
+ #endif // _BRepCheck_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepClass3d_SolidClassifier.hxx ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1994-03-30
2
+ // Created by: Laurent BUCHARD
3
+ // Copyright (c) 1994-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _BRepClass3d_SolidClassifier_HeaderFile
18
+ #define _BRepClass3d_SolidClassifier_HeaderFile
19
+
20
+ #include <Standard.hxx>
21
+ #include <Standard_DefineAlloc.hxx>
22
+
23
+ #include <Standard_Boolean.hxx>
24
+ #include <BRepClass3d_SolidExplorer.hxx>
25
+ #include <BRepClass3d_SClassifier.hxx>
26
+ class TopoDS_Shape;
27
+ class gp_Pnt;
28
+
29
+ //! Provides an algorithm to classify a point in a solid.
30
+ class BRepClass3d_SolidClassifier : public BRepClass3d_SClassifier
31
+ {
32
+ public:
33
+ DEFINE_STANDARD_ALLOC
34
+
35
+ //! empty constructor
36
+ Standard_EXPORT BRepClass3d_SolidClassifier();
37
+
38
+ Standard_EXPORT void Load(const TopoDS_Shape& S);
39
+
40
+ //! Constructor from a Shape.
41
+ Standard_EXPORT BRepClass3d_SolidClassifier(const TopoDS_Shape& S);
42
+
43
+ //! Constructor to classify the point P with the
44
+ //! tolerance Tol on the solid S.
45
+ Standard_EXPORT BRepClass3d_SolidClassifier(const TopoDS_Shape& S,
46
+ const gp_Pnt& P,
47
+ const Standard_Real Tol);
48
+
49
+ //! Classify the point P with the
50
+ //! tolerance Tol on the solid S.
51
+ Standard_EXPORT void Perform(const gp_Pnt& P, const Standard_Real Tol);
52
+
53
+ //! Classify an infinite point with the
54
+ //! tolerance Tol on the solid S.
55
+ //! Useful for compute the orientation of a solid.
56
+ Standard_EXPORT void PerformInfinitePoint(const Standard_Real Tol);
57
+
58
+ Standard_EXPORT void Destroy();
59
+
60
+ ~BRepClass3d_SolidClassifier() { Destroy(); }
61
+
62
+ protected:
63
+ private:
64
+ Standard_Boolean aSolidLoaded;
65
+ BRepClass3d_SolidExplorer explorer;
66
+ Standard_Boolean isaholeinspace;
67
+ };
68
+
69
+ #endif // _BRepClass3d_SolidClassifier_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepExtrema_ExtFF.hxx ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
2
+ //
3
+ // This file is part of Open CASCADE Technology software library.
4
+ //
5
+ // This library is free software; you can redistribute it and/or modify it under
6
+ // the terms of the GNU Lesser General Public License version 2.1 as published
7
+ // by the Free Software Foundation, with special exception defined in the file
8
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9
+ // distribution for complete text of the license and disclaimer of any warranty.
10
+ //
11
+ // Alternatively, this file may be used under the terms of Open CASCADE
12
+ // commercial license or contractual agreement.
13
+
14
+ #ifndef _BRepExtrema_ExtFF_HeaderFile
15
+ #define _BRepExtrema_ExtFF_HeaderFile
16
+
17
+ #include <Extrema_ExtSS.hxx>
18
+ #include <TColStd_SequenceOfReal.hxx>
19
+ #include <Extrema_SequenceOfPOnSurf.hxx>
20
+ #include <BRepAdaptor_Surface.hxx>
21
+ #include <Extrema_POnSurf.hxx>
22
+ #include <Standard_DefineAlloc.hxx>
23
+
24
+ class TopoDS_Face;
25
+
26
+ class BRepExtrema_ExtFF
27
+ {
28
+ public:
29
+ DEFINE_STANDARD_ALLOC
30
+
31
+ BRepExtrema_ExtFF() {}
32
+
33
+ //! It calculates all the distances. <br>
34
+ Standard_EXPORT BRepExtrema_ExtFF(const TopoDS_Face& F1, const TopoDS_Face& F2);
35
+
36
+ Standard_EXPORT void Initialize(const TopoDS_Face& F2);
37
+ //! An exception is raised if the fields have not been initialized. <br>
38
+ //! Be careful: this method uses the Face F2 only for classify, not for the fields. <br>
39
+ Standard_EXPORT void Perform(const TopoDS_Face& F1, const TopoDS_Face& F2);
40
+
41
+ //! True if the distances are found. <br>
42
+ Standard_Boolean IsDone() const { return myExtSS.IsDone(); }
43
+
44
+ //! Returns True if the surfaces are parallel. <br>
45
+ Standard_Boolean IsParallel() const { return myExtSS.IsParallel(); }
46
+
47
+ //! Returns the number of extremum distances. <br>
48
+ Standard_Integer NbExt() const { return mySqDist.Length(); }
49
+
50
+ //! Returns the value of the <N>th extremum square distance. <br>
51
+ Standard_Real SquareDistance(const Standard_Integer N) const { return mySqDist.Value(N); }
52
+
53
+ //! Returns the parameters on the Face F1 of the <N>th extremum distance. <br>
54
+ void ParameterOnFace1(const Standard_Integer N, Standard_Real& U, Standard_Real& V) const
55
+ {
56
+ myPointsOnS1.Value(N).Parameter(U, V);
57
+ }
58
+
59
+ //! Returns the parameters on the Face F2 of the <N>th extremum distance. <br>
60
+ void ParameterOnFace2(const Standard_Integer N, Standard_Real& U, Standard_Real& V) const
61
+ {
62
+ myPointsOnS2.Value(N).Parameter(U, V);
63
+ }
64
+
65
+ //! Returns the Point of the <N>th extremum distance. <br>
66
+ gp_Pnt PointOnFace1(const Standard_Integer N) const { return myPointsOnS1.Value(N).Value(); }
67
+
68
+ //! Returns the Point of the <N>th extremum distance. <br>
69
+ gp_Pnt PointOnFace2(const Standard_Integer N) const { return myPointsOnS2.Value(N).Value(); }
70
+
71
+ private:
72
+ Extrema_ExtSS myExtSS;
73
+ TColStd_SequenceOfReal mySqDist;
74
+ Extrema_SequenceOfPOnSurf myPointsOnS1;
75
+ Extrema_SequenceOfPOnSurf myPointsOnS2;
76
+ Handle(BRepAdaptor_Surface) myHS;
77
+ };
78
+
79
+ #endif
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepExtrema_SupportType.hxx ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
2
+ //
3
+ // This file is part of Open CASCADE Technology software library.
4
+ //
5
+ // This library is free software; you can redistribute it and/or modify it under
6
+ // the terms of the GNU Lesser General Public License version 2.1 as published
7
+ // by the Free Software Foundation, with special exception defined in the file
8
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9
+ // distribution for complete text of the license and disclaimer of any warranty.
10
+ //
11
+ // Alternatively, this file may be used under the terms of Open CASCADE
12
+ // commercial license or contractual agreement.
13
+
14
+ #ifndef _BRepExtrema_SupportType_HeaderFile
15
+ #define _BRepExtrema_SupportType_HeaderFile
16
+
17
+ enum BRepExtrema_SupportType
18
+ {
19
+ BRepExtrema_IsVertex,
20
+ BRepExtrema_IsOnEdge,
21
+ BRepExtrema_IsInFace
22
+ };
23
+
24
+ #endif
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepFeat_MakeRevol.lxx ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1996-02-13
2
+ // Created by: Jacques GOUSSARD
3
+ // Copyright (c) 1996-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ //=======================================================================
18
+ // function : BRepFeat_MakeRevol
19
+ // purpose :
20
+ //=======================================================================
21
+
22
+ inline BRepFeat_MakeRevol::BRepFeat_MakeRevol()
23
+ : myStatusError(BRepFeat_OK)
24
+ {
25
+ }
26
+
27
+ //=======================================================================
28
+ // function : BRepFeat_MakeRevol
29
+ // purpose :
30
+ //=======================================================================
31
+
32
+ inline BRepFeat_MakeRevol::BRepFeat_MakeRevol(const TopoDS_Shape& Sbase,
33
+ const TopoDS_Shape& Pbase,
34
+ const TopoDS_Face& Skface,
35
+ const gp_Ax1& Axis,
36
+ const Standard_Integer Fuse,
37
+ const Standard_Boolean Modify)
38
+
39
+ {
40
+ Init(Sbase, Pbase, Skface, Axis, Fuse, Modify);
41
+ }
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepFill_TrimSurfaceTool.hxx ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1994-10-21
2
+ // Created by: Bruno DUMORTIER
3
+ // Copyright (c) 1994-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _BRepFill_TrimSurfaceTool_HeaderFile
18
+ #define _BRepFill_TrimSurfaceTool_HeaderFile
19
+
20
+ #include <Standard.hxx>
21
+ #include <Standard_DefineAlloc.hxx>
22
+ #include <Standard_Handle.hxx>
23
+
24
+ #include <TopoDS_Face.hxx>
25
+ #include <TopoDS_Edge.hxx>
26
+ #include <TColgp_SequenceOfPnt.hxx>
27
+ #include <GeomAbs_Shape.hxx>
28
+ class Geom2d_Curve;
29
+ class gp_Pnt2d;
30
+ class Geom_Curve;
31
+
32
+ //! Compute the Pcurves and the 3d curves resulting
33
+ //! of the trimming of a face by an extruded surface.
34
+ class BRepFill_TrimSurfaceTool
35
+ {
36
+ public:
37
+ DEFINE_STANDARD_ALLOC
38
+
39
+ Standard_EXPORT BRepFill_TrimSurfaceTool(const Handle(Geom2d_Curve)& Bis,
40
+ const TopoDS_Face& Face1,
41
+ const TopoDS_Face& Face2,
42
+ const TopoDS_Edge& Edge1,
43
+ const TopoDS_Edge& Edge2,
44
+ const Standard_Boolean Inv1,
45
+ const Standard_Boolean Inv2);
46
+
47
+ //! Intersect <Bis> with the projection of the edges
48
+ //! <EdgeOnFi> and returns the intersecting parameters
49
+ //! on Bis and on the edges
50
+ //! P.X() : Parameter on Bis
51
+ //! P.Y() : Parameter on EdgeOnF1
52
+ //! P.Z() : Parameter on EdgeOnF2
53
+ //! raises if <Edge> is not a edge of Face1 or Face2.
54
+ Standard_EXPORT void IntersectWith(const TopoDS_Edge& EdgeOnF1,
55
+ const TopoDS_Edge& EdgeOnF2,
56
+ TColgp_SequenceOfPnt& Points) const;
57
+
58
+ //! returns True if the Line (P, DZ) intersect the Faces
59
+ Standard_EXPORT Standard_Boolean IsOnFace(const gp_Pnt2d& Point) const;
60
+
61
+ //! returns the parameter of the point <Point> on the
62
+ //! Edge <Edge>, assuming that the point is on the edge.
63
+ Standard_EXPORT Standard_Real ProjOn(const gp_Pnt2d& Point, const TopoDS_Edge& Edge) const;
64
+
65
+ Standard_EXPORT void Project(const Standard_Real U1,
66
+ const Standard_Real U2,
67
+ Handle(Geom_Curve)& Curve,
68
+ Handle(Geom2d_Curve)& PCurve1,
69
+ Handle(Geom2d_Curve)& PCurve2,
70
+ GeomAbs_Shape& myCont) const;
71
+
72
+ protected:
73
+ private:
74
+ TopoDS_Face myFace1;
75
+ TopoDS_Face myFace2;
76
+ TopoDS_Edge myEdge1;
77
+ TopoDS_Edge myEdge2;
78
+ Standard_Boolean myInv1;
79
+ Standard_Boolean myInv2;
80
+ Handle(Geom2d_Curve) myBis;
81
+ };
82
+
83
+ #endif // _BRepFill_TrimSurfaceTool_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepGProp_Face.lxx ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 2005-12-20
2
+ // Created by: Sergey KHROMOV
3
+ // Copyright (c) 2005-2014 OPEN CASCADE SAS
4
+ //
5
+ // This file is part of Open CASCADE Technology software library.
6
+ //
7
+ // This library is free software; you can redistribute it and/or modify it under
8
+ // the terms of the GNU Lesser General Public License version 2.1 as published
9
+ // by the Free Software Foundation, with special exception defined in the file
10
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11
+ // distribution for complete text of the license and disclaimer of any warranty.
12
+ //
13
+ // Alternatively, this file may be used under the terms of Open CASCADE
14
+ // commercial license or contractual agreement.
15
+
16
+ #include <BRep_Tool.hxx>
17
+
18
+ //=======================================================================
19
+ // function : BRepGProp_Face
20
+ // purpose : Constructor. Initializes the object with IsUseSpan.
21
+ //=======================================================================
22
+
23
+ inline BRepGProp_Face::BRepGProp_Face(const Standard_Boolean IsUseSpan)
24
+ : mySReverse(Standard_False),
25
+ myIsUseSpan(IsUseSpan)
26
+ {
27
+ }
28
+
29
+ //=======================================================================
30
+ // function : BRepGProp_Face
31
+ // purpose : Constructor.Initializes the object with the face and
32
+ // IsUseSpan flan.
33
+ //=======================================================================
34
+
35
+ inline BRepGProp_Face::BRepGProp_Face(const TopoDS_Face& F, const Standard_Boolean IsUseSpan)
36
+ : myIsUseSpan(IsUseSpan)
37
+ {
38
+ Load(F);
39
+ }
40
+
41
+ //=======================================================================
42
+ // function : NaturalRestriction
43
+ // purpose : Returns Standard_True if the face is not trimmed.
44
+ //=======================================================================
45
+
46
+ inline Standard_Boolean BRepGProp_Face::NaturalRestriction() const
47
+ {
48
+ return BRep_Tool::NaturalRestriction(mySurface.Face());
49
+ }
50
+
51
+ //
52
+ //=======================================================================
53
+ // function : GetFace
54
+ // purpose : Returns TopoDS Face.
55
+ //=======================================================================
56
+
57
+ inline const TopoDS_Face& BRepGProp_Face::GetFace() const
58
+ {
59
+ return mySurface.Face();
60
+ }
61
+
62
+ //=======================================================================
63
+ // function : Value2d
64
+ // purpose : Returns the value of the boundary curve of the face.
65
+ //=======================================================================
66
+
67
+ inline gp_Pnt2d BRepGProp_Face::Value2d(const Standard_Real U) const
68
+ {
69
+ return myCurve.Value(U);
70
+ }
71
+
72
+ //=======================================================================
73
+ // function : D12d
74
+ // purpose : Returns the point of parameter U and the first derivative
75
+ // at this point of a boundary curve.
76
+ //=======================================================================
77
+
78
+ inline void BRepGProp_Face::D12d(const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1) const
79
+ {
80
+ myCurve.D1(U, P, V1);
81
+ }
82
+
83
+ //=======================================================================
84
+ // function : FirstParameter
85
+ // purpose : Returns the parametric value of the start point of
86
+ // the current arc of curve.
87
+ //=======================================================================
88
+
89
+ inline Standard_Real BRepGProp_Face::FirstParameter() const
90
+ {
91
+ return myCurve.FirstParameter();
92
+ }
93
+
94
+ //=======================================================================
95
+ // function : LastParameter
96
+ // purpose : Returns the parametric value of the end point of
97
+ // the current arc of curve.
98
+ //=======================================================================
99
+
100
+ inline Standard_Real BRepGProp_Face::LastParameter() const
101
+ {
102
+ return myCurve.LastParameter();
103
+ }
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepLProp.hxx ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1994-02-24
2
+ // Created by: Laurent BOURESCHE
3
+ // Copyright (c) 1994-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _BRepLProp_HeaderFile
18
+ #define _BRepLProp_HeaderFile
19
+
20
+ #include <Standard.hxx>
21
+ #include <Standard_DefineAlloc.hxx>
22
+ #include <Standard_Handle.hxx>
23
+
24
+ #include <GeomAbs_Shape.hxx>
25
+ #include <Standard_Real.hxx>
26
+ class BRepAdaptor_Curve;
27
+
28
+ //! These global functions compute the degree of
29
+ //! continuity of a curve built by concatenation of two
30
+ //! edges at their junction point.
31
+ class BRepLProp
32
+ {
33
+ public:
34
+ DEFINE_STANDARD_ALLOC
35
+
36
+ //! Computes the regularity at the junction between C1 and
37
+ //! C2. The point u1 on C1 and the point u2 on C2 must be
38
+ //! confused. tl and ta are the linear and angular
39
+ //! tolerance used two compare the derivative.
40
+ Standard_EXPORT static GeomAbs_Shape Continuity(const BRepAdaptor_Curve& C1,
41
+ const BRepAdaptor_Curve& C2,
42
+ const Standard_Real u1,
43
+ const Standard_Real u2,
44
+ const Standard_Real tl,
45
+ const Standard_Real ta);
46
+
47
+ //! The same as preceding but using the standard tolerances from package Precision.
48
+ Standard_EXPORT static GeomAbs_Shape Continuity(const BRepAdaptor_Curve& C1,
49
+ const BRepAdaptor_Curve& C2,
50
+ const Standard_Real u1,
51
+ const Standard_Real u2);
52
+ };
53
+
54
+ #endif // _BRepLProp_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepLib_MakeEdge.hxx ADDED
@@ -0,0 +1,267 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1993-07-06
2
+ // Created by: Remi LEQUETTE
3
+ // Copyright (c) 1993-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _BRepLib_MakeEdge_HeaderFile
18
+ #define _BRepLib_MakeEdge_HeaderFile
19
+
20
+ #include <Standard.hxx>
21
+ #include <Standard_DefineAlloc.hxx>
22
+ #include <Standard_Handle.hxx>
23
+
24
+ #include <BRepLib_EdgeError.hxx>
25
+ #include <TopoDS_Vertex.hxx>
26
+ #include <BRepLib_MakeShape.hxx>
27
+ class gp_Pnt;
28
+ class gp_Lin;
29
+ class gp_Circ;
30
+ class gp_Elips;
31
+ class gp_Hypr;
32
+ class gp_Parab;
33
+ class Geom_Curve;
34
+ class Geom2d_Curve;
35
+ class Geom_Surface;
36
+ class TopoDS_Edge;
37
+
38
+ //! Provides methods to build edges.
39
+ //!
40
+ //! The methods have the following syntax, where
41
+ //! TheCurve is one of Lin, Circ, ...
42
+ //!
43
+ //! Create(C : TheCurve)
44
+ //!
45
+ //! Makes an edge on the whole curve. Add vertices
46
+ //! on finite curves.
47
+ //!
48
+ //! Create(C : TheCurve; p1,p2 : Real)
49
+ //!
50
+ //! Make an edge on the curve between parameters p1
51
+ //! and p2. if p2 < p1 the edge will be REVERSED. If
52
+ //! p1 or p2 is infinite the curve will be open in
53
+ //! that direction. Vertices are created for finite
54
+ //! values of p1 and p2.
55
+ //!
56
+ //! Create(C : TheCurve; P1, P2 : Pnt from gp)
57
+ //!
58
+ //! Make an edge on the curve between the points P1
59
+ //! and P2. The points are projected on the curve
60
+ //! and the previous method is used. An error is
61
+ //! raised if the points are not on the curve.
62
+ //!
63
+ //! Create(C : TheCurve; V1, V2 : Vertex from TopoDS)
64
+ //!
65
+ //! Make an edge on the curve between the vertices
66
+ //! V1 and V2. Same as the previous but no vertices
67
+ //! are created. If a vertex is Null the curve will
68
+ //! be open in this direction.
69
+ class BRepLib_MakeEdge : public BRepLib_MakeShape
70
+ {
71
+ public:
72
+ DEFINE_STANDARD_ALLOC
73
+
74
+ Standard_EXPORT BRepLib_MakeEdge();
75
+
76
+ Standard_EXPORT BRepLib_MakeEdge(const TopoDS_Vertex& V1, const TopoDS_Vertex& V2);
77
+
78
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Pnt& P1, const gp_Pnt& P2);
79
+
80
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Lin& L);
81
+
82
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Lin& L, const Standard_Real p1, const Standard_Real p2);
83
+
84
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Lin& L, const gp_Pnt& P1, const gp_Pnt& P2);
85
+
86
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Lin& L,
87
+ const TopoDS_Vertex& V1,
88
+ const TopoDS_Vertex& V2);
89
+
90
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Circ& L);
91
+
92
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Circ& L,
93
+ const Standard_Real p1,
94
+ const Standard_Real p2);
95
+
96
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Circ& L, const gp_Pnt& P1, const gp_Pnt& P2);
97
+
98
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Circ& L,
99
+ const TopoDS_Vertex& V1,
100
+ const TopoDS_Vertex& V2);
101
+
102
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Elips& L);
103
+
104
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Elips& L,
105
+ const Standard_Real p1,
106
+ const Standard_Real p2);
107
+
108
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Elips& L, const gp_Pnt& P1, const gp_Pnt& P2);
109
+
110
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Elips& L,
111
+ const TopoDS_Vertex& V1,
112
+ const TopoDS_Vertex& V2);
113
+
114
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Hypr& L);
115
+
116
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Hypr& L,
117
+ const Standard_Real p1,
118
+ const Standard_Real p2);
119
+
120
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Hypr& L, const gp_Pnt& P1, const gp_Pnt& P2);
121
+
122
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Hypr& L,
123
+ const TopoDS_Vertex& V1,
124
+ const TopoDS_Vertex& V2);
125
+
126
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Parab& L);
127
+
128
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Parab& L,
129
+ const Standard_Real p1,
130
+ const Standard_Real p2);
131
+
132
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Parab& L, const gp_Pnt& P1, const gp_Pnt& P2);
133
+
134
+ Standard_EXPORT BRepLib_MakeEdge(const gp_Parab& L,
135
+ const TopoDS_Vertex& V1,
136
+ const TopoDS_Vertex& V2);
137
+
138
+ Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom_Curve)& L);
139
+
140
+ Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom_Curve)& L,
141
+ const Standard_Real p1,
142
+ const Standard_Real p2);
143
+
144
+ Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom_Curve)& L, const gp_Pnt& P1, const gp_Pnt& P2);
145
+
146
+ Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom_Curve)& L,
147
+ const TopoDS_Vertex& V1,
148
+ const TopoDS_Vertex& V2);
149
+
150
+ Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom_Curve)& L,
151
+ const gp_Pnt& P1,
152
+ const gp_Pnt& P2,
153
+ const Standard_Real p1,
154
+ const Standard_Real p2);
155
+
156
+ Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom_Curve)& L,
157
+ const TopoDS_Vertex& V1,
158
+ const TopoDS_Vertex& V2,
159
+ const Standard_Real p1,
160
+ const Standard_Real p2);
161
+
162
+ Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom2d_Curve)& L, const Handle(Geom_Surface)& S);
163
+
164
+ Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom2d_Curve)& L,
165
+ const Handle(Geom_Surface)& S,
166
+ const Standard_Real p1,
167
+ const Standard_Real p2);
168
+
169
+ Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom2d_Curve)& L,
170
+ const Handle(Geom_Surface)& S,
171
+ const gp_Pnt& P1,
172
+ const gp_Pnt& P2);
173
+
174
+ Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom2d_Curve)& L,
175
+ const Handle(Geom_Surface)& S,
176
+ const TopoDS_Vertex& V1,
177
+ const TopoDS_Vertex& V2);
178
+
179
+ Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom2d_Curve)& L,
180
+ const Handle(Geom_Surface)& S,
181
+ const gp_Pnt& P1,
182
+ const gp_Pnt& P2,
183
+ const Standard_Real p1,
184
+ const Standard_Real p2);
185
+
186
+ Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom2d_Curve)& L,
187
+ const Handle(Geom_Surface)& S,
188
+ const TopoDS_Vertex& V1,
189
+ const TopoDS_Vertex& V2,
190
+ const Standard_Real p1,
191
+ const Standard_Real p2);
192
+
193
+ Standard_EXPORT void Init(const Handle(Geom_Curve)& C);
194
+
195
+ Standard_EXPORT void Init(const Handle(Geom_Curve)& C,
196
+ const Standard_Real p1,
197
+ const Standard_Real p2);
198
+
199
+ Standard_EXPORT void Init(const Handle(Geom_Curve)& C, const gp_Pnt& P1, const gp_Pnt& P2);
200
+
201
+ Standard_EXPORT void Init(const Handle(Geom_Curve)& C,
202
+ const TopoDS_Vertex& V1,
203
+ const TopoDS_Vertex& V2);
204
+
205
+ Standard_EXPORT void Init(const Handle(Geom_Curve)& C,
206
+ const gp_Pnt& P1,
207
+ const gp_Pnt& P2,
208
+ const Standard_Real p1,
209
+ const Standard_Real p2);
210
+
211
+ Standard_EXPORT void Init(const Handle(Geom_Curve)& C,
212
+ const TopoDS_Vertex& V1,
213
+ const TopoDS_Vertex& V2,
214
+ const Standard_Real p1,
215
+ const Standard_Real p2);
216
+
217
+ Standard_EXPORT void Init(const Handle(Geom2d_Curve)& C, const Handle(Geom_Surface)& S);
218
+
219
+ Standard_EXPORT void Init(const Handle(Geom2d_Curve)& C,
220
+ const Handle(Geom_Surface)& S,
221
+ const Standard_Real p1,
222
+ const Standard_Real p2);
223
+
224
+ Standard_EXPORT void Init(const Handle(Geom2d_Curve)& C,
225
+ const Handle(Geom_Surface)& S,
226
+ const gp_Pnt& P1,
227
+ const gp_Pnt& P2);
228
+
229
+ Standard_EXPORT void Init(const Handle(Geom2d_Curve)& C,
230
+ const Handle(Geom_Surface)& S,
231
+ const TopoDS_Vertex& V1,
232
+ const TopoDS_Vertex& V2);
233
+
234
+ Standard_EXPORT void Init(const Handle(Geom2d_Curve)& C,
235
+ const Handle(Geom_Surface)& S,
236
+ const gp_Pnt& P1,
237
+ const gp_Pnt& P2,
238
+ const Standard_Real p1,
239
+ const Standard_Real p2);
240
+
241
+ Standard_EXPORT void Init(const Handle(Geom2d_Curve)& C,
242
+ const Handle(Geom_Surface)& S,
243
+ const TopoDS_Vertex& V1,
244
+ const TopoDS_Vertex& V2,
245
+ const Standard_Real p1,
246
+ const Standard_Real p2);
247
+
248
+ //! Returns the error description when NotDone.
249
+ Standard_EXPORT BRepLib_EdgeError Error() const;
250
+
251
+ Standard_EXPORT const TopoDS_Edge& Edge();
252
+ Standard_EXPORT operator TopoDS_Edge();
253
+
254
+ //! Returns the first vertex of the edge. May be Null.
255
+ Standard_EXPORT const TopoDS_Vertex& Vertex1() const;
256
+
257
+ //! Returns the second vertex of the edge. May be Null.
258
+ Standard_EXPORT const TopoDS_Vertex& Vertex2() const;
259
+
260
+ protected:
261
+ private:
262
+ BRepLib_EdgeError myError;
263
+ TopoDS_Vertex myVertex1;
264
+ TopoDS_Vertex myVertex2;
265
+ };
266
+
267
+ #endif // _BRepLib_MakeEdge_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepMesh_MeshTool.hxx ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 2016-08-22
2
+ // Copyright (c) 2016 OPEN CASCADE SAS
3
+ // Created by: Oleg AGASHIN
4
+ //
5
+ // This file is part of Open CASCADE Technology software library.
6
+ //
7
+ // This library is free software; you can redistribute it and/or modify it under
8
+ // the terms of the GNU Lesser General Public License version 2.1 as published
9
+ // by the Free Software Foundation, with special exception defined in the file
10
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11
+ // distribution for complete text of the license and disclaimer of any warranty.
12
+ //
13
+ // Alternatively, this file may be used under the terms of Open CASCADE
14
+ // commercial license or contractual agreement.
15
+
16
+ #ifndef _BRepMesh_MeshTool_HeaderFile
17
+ #define _BRepMesh_MeshTool_HeaderFile
18
+
19
+ #include <Standard_Transient.hxx>
20
+ #include <BRepMesh_DataStructureOfDelaun.hxx>
21
+ #include <BRepMesh_CircleTool.hxx>
22
+ #include <gp_Lin2d.hxx>
23
+ #include <IMeshData_Types.hxx>
24
+ #include <BRepMesh_Edge.hxx>
25
+
26
+ #include <stack>
27
+
28
+ //! Auxiliary tool providing API for manipulation with BRepMesh_DataStructureOfDelaun.
29
+ class BRepMesh_MeshTool : public Standard_Transient
30
+ {
31
+ public:
32
+ //! Helper functor intended to separate points to left and right from the constraint.
33
+ class NodeClassifier
34
+ {
35
+ public:
36
+ NodeClassifier(const BRepMesh_Edge& theConstraint,
37
+ const Handle(BRepMesh_DataStructureOfDelaun)& theStructure)
38
+ : myStructure(theStructure)
39
+ {
40
+ const BRepMesh_Vertex& aVertex1 = myStructure->GetNode(theConstraint.FirstNode());
41
+ const BRepMesh_Vertex& aVertex2 = myStructure->GetNode(theConstraint.LastNode());
42
+
43
+ myConstraint.SetLocation(aVertex1.Coord());
44
+ myConstraint.SetDirection(gp_Vec2d(aVertex1.Coord(), aVertex2.Coord()));
45
+ mySign = myConstraint.Direction().X() > 0;
46
+ }
47
+
48
+ Standard_Boolean IsAbove(const Standard_Integer theNodeIndex) const
49
+ {
50
+ const BRepMesh_Vertex& aVertex = myStructure->GetNode(theNodeIndex);
51
+ const gp_Vec2d aNodeVec(myConstraint.Location(), aVertex.Coord());
52
+ if (aNodeVec.SquareMagnitude() > gp::Resolution())
53
+ {
54
+ const Standard_Real aCross = aNodeVec.Crossed(myConstraint.Direction());
55
+ if (Abs(aCross) > gp::Resolution())
56
+ {
57
+ return mySign ? aCross < 0. : aCross > 0.;
58
+ }
59
+ }
60
+
61
+ return Standard_False;
62
+ }
63
+
64
+ private:
65
+ NodeClassifier(const NodeClassifier& theOther);
66
+
67
+ void operator=(const NodeClassifier& theOther);
68
+
69
+ private:
70
+ const Handle(BRepMesh_DataStructureOfDelaun)& myStructure;
71
+ gp_Lin2d myConstraint;
72
+ Standard_Boolean mySign;
73
+ };
74
+
75
+ //! Constructor.
76
+ //! Initializes tool by the given data structure.
77
+ Standard_EXPORT BRepMesh_MeshTool(const Handle(BRepMesh_DataStructureOfDelaun)& theStructure);
78
+
79
+ //! Destructor.
80
+ Standard_EXPORT virtual ~BRepMesh_MeshTool();
81
+
82
+ //! Returns data structure manipulated by this tool.
83
+ const Handle(BRepMesh_DataStructureOfDelaun)& GetStructure() const { return myStructure; }
84
+
85
+ //! Dumps triangles to specified file.
86
+ void DumpTriangles(const Standard_CString theFileName, IMeshData::MapOfInteger* theTriangles);
87
+
88
+ //! Adds new triangle with specified nodes to mesh.
89
+ //! Legalizes triangle in case if it violates circle criteria.
90
+ void AddAndLegalizeTriangle(const Standard_Integer thePoint1,
91
+ const Standard_Integer thePoint2,
92
+ const Standard_Integer thePoint3)
93
+ {
94
+ Standard_Integer aEdges[3];
95
+ AddTriangle(thePoint1, thePoint2, thePoint3, aEdges);
96
+
97
+ Legalize(aEdges[0]);
98
+ Legalize(aEdges[1]);
99
+ Legalize(aEdges[2]);
100
+ }
101
+
102
+ //! Adds new triangle with specified nodes to mesh.
103
+ void AddTriangle(const Standard_Integer thePoint1,
104
+ const Standard_Integer thePoint2,
105
+ const Standard_Integer thePoint3,
106
+ Standard_Integer (&theEdges)[3])
107
+ {
108
+ Standard_Boolean aOri[3];
109
+ AddLink(thePoint1, thePoint2, theEdges[0], aOri[0]);
110
+ AddLink(thePoint2, thePoint3, theEdges[1], aOri[1]);
111
+ AddLink(thePoint3, thePoint1, theEdges[2], aOri[2]);
112
+
113
+ myStructure->AddElement(BRepMesh_Triangle(theEdges, aOri, BRepMesh_Free));
114
+ }
115
+
116
+ //! Adds new link to mesh.
117
+ //! Updates link index and link orientation parameters.
118
+ void AddLink(const Standard_Integer theFirstNode,
119
+ const Standard_Integer theLastNode,
120
+ Standard_Integer& theLinkIndex,
121
+ Standard_Boolean& theLinkOri)
122
+ {
123
+ const Standard_Integer aLinkIt =
124
+ myStructure->AddLink(BRepMesh_Edge(theFirstNode, theLastNode, BRepMesh_Free));
125
+
126
+ theLinkIndex = Abs(aLinkIt);
127
+ theLinkOri = (aLinkIt > 0);
128
+ }
129
+
130
+ //! Performs legalization of triangles connected to the specified link.
131
+ Standard_EXPORT void Legalize(const Standard_Integer theLinkIndex);
132
+
133
+ //! Erases all elements connected to the specified artificial node.
134
+ //! In addition, erases the artificial node itself.
135
+ Standard_EXPORT void EraseItemsConnectedTo(const Standard_Integer theNodeIndex);
136
+
137
+ //! Cleans frontier links from triangles to the right.
138
+ Standard_EXPORT void CleanFrontierLinks();
139
+
140
+ //! Erases the given set of triangles.
141
+ //! Fills map of loop edges forming the contour surrounding the erased triangles.
142
+ void EraseTriangles(const IMeshData::MapOfInteger& theTriangles,
143
+ IMeshData::MapOfIntegerInteger& theLoopEdges);
144
+
145
+ //! Erases triangle with the given index and adds the free edges into the map.
146
+ //! When an edge is suppressed more than one time it is destroyed.
147
+ Standard_EXPORT void EraseTriangle(const Standard_Integer theTriangleIndex,
148
+ IMeshData::MapOfIntegerInteger& theLoopEdges);
149
+
150
+ //! Erases all links that have no elements connected to them.
151
+ Standard_EXPORT void EraseFreeLinks();
152
+
153
+ //! Erases links from the specified map that have no elements connected to them.
154
+ Standard_EXPORT void EraseFreeLinks(const IMeshData::MapOfIntegerInteger& theLinks);
155
+
156
+ //! Gives the list of edges with type defined by input parameter.
157
+ Standard_EXPORT Handle(IMeshData::MapOfInteger) GetEdgesByType(
158
+ const BRepMesh_DegreeOfFreedom theEdgeType) const;
159
+
160
+ DEFINE_STANDARD_RTTIEXT(BRepMesh_MeshTool, Standard_Transient)
161
+
162
+ private:
163
+ //! Returns True if the given point lies within circumcircle of the given triangle.
164
+ Standard_Boolean checkCircle(const Standard_Integer (&aNodes)[3], const Standard_Integer thePoint)
165
+ {
166
+ const BRepMesh_Vertex& aVertex0 = myStructure->GetNode(aNodes[0]);
167
+ const BRepMesh_Vertex& aVertex1 = myStructure->GetNode(aNodes[1]);
168
+ const BRepMesh_Vertex& aVertex2 = myStructure->GetNode(aNodes[2]);
169
+
170
+ gp_XY aLocation;
171
+ Standard_Real aRadius;
172
+ const Standard_Boolean isOk = BRepMesh_CircleTool::MakeCircle(aVertex0.Coord(),
173
+ aVertex1.Coord(),
174
+ aVertex2.Coord(),
175
+ aLocation,
176
+ aRadius);
177
+
178
+ if (isOk)
179
+ {
180
+ const BRepMesh_Vertex& aVertex = myStructure->GetNode(thePoint);
181
+ const Standard_Real aDist =
182
+ (aVertex.Coord() - aLocation).SquareModulus() - (aRadius * aRadius);
183
+ return (aDist < Precision::SquareConfusion());
184
+ }
185
+
186
+ return Standard_False;
187
+ }
188
+
189
+ //! Adds new triangle with the given nodes and updates
190
+ //! links stack by ones are not in used map.
191
+ void addTriangleAndUpdateStack(const Standard_Integer theNode0,
192
+ const Standard_Integer theNode1,
193
+ const Standard_Integer theNode2,
194
+ const IMeshData::MapOfInteger& theUsedLinks,
195
+ std::stack<Standard_Integer>& theStack)
196
+ {
197
+ Standard_Integer aEdges[3];
198
+ AddTriangle(theNode0, theNode1, theNode2, aEdges);
199
+
200
+ for (Standard_Integer i = 0; i < 3; ++i)
201
+ {
202
+ if (!theUsedLinks.Contains(aEdges[i]))
203
+ {
204
+ theStack.push(aEdges[i]);
205
+ }
206
+ }
207
+ }
208
+
209
+ //! Iteratively erases triangles and their neighbours consisting
210
+ //! of free links using the given link as starting front.
211
+ //! Only triangles around the constraint's saddle nodes will be removed.
212
+ void collectTrianglesOnFreeLinksAroundNodesOf(const BRepMesh_Edge& theConstraint,
213
+ const Standard_Integer theStartLink,
214
+ IMeshData::MapOfInteger& theTriangles);
215
+
216
+ private:
217
+ Handle(BRepMesh_DataStructureOfDelaun) myStructure;
218
+ };
219
+
220
+ #endif
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepOffsetAPI_SequenceOfSequenceOfShape.hxx ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1999-10-11
2
+ // Created by: Atelier CAS2000
3
+ // Copyright (c) 1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef BRepOffsetAPI_SequenceOfSequenceOfShape_HeaderFile
18
+ #define BRepOffsetAPI_SequenceOfSequenceOfShape_HeaderFile
19
+
20
+ #include <TopTools_SequenceOfShape.hxx>
21
+ #include <NCollection_Sequence.hxx>
22
+
23
+ typedef NCollection_Sequence<TopTools_SequenceOfShape> BRepOffsetAPI_SequenceOfSequenceOfShape;
24
+
25
+ #endif
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepTools_Modifier.hxx ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1994-08-25
2
+ // Created by: Jacques GOUSSARD
3
+ // Copyright (c) 1994-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _BRepTools_Modifier_HeaderFile
18
+ #define _BRepTools_Modifier_HeaderFile
19
+
20
+ #include <Standard.hxx>
21
+ #include <Standard_DefineAlloc.hxx>
22
+ #include <Standard_Handle.hxx>
23
+
24
+ #include <TopTools_DataMapOfShapeShape.hxx>
25
+ #include <TopTools_MapOfShape.hxx>
26
+ #include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
27
+ #include <TopoDS_Edge.hxx>
28
+ #include <TopoDS_Face.hxx>
29
+
30
+ #include <NCollection_DataMap.hxx>
31
+ #include <TopoDS_Shape.hxx>
32
+ #include <TopTools_ShapeMapHasher.hxx>
33
+ #include <TopLoc_Location.hxx>
34
+ #include <Message_ProgressRange.hxx>
35
+
36
+ class BRepTools_Modification;
37
+ class Geom_Curve;
38
+ class Geom_Surface;
39
+
40
+ //! Performs geometric modifications on a shape.
41
+ class BRepTools_Modifier
42
+ {
43
+ public:
44
+ DEFINE_STANDARD_ALLOC
45
+
46
+ //! Creates an empty Modifier.
47
+ Standard_EXPORT BRepTools_Modifier(Standard_Boolean theMutableInput = Standard_False);
48
+
49
+ //! Creates a modifier on the shape <S>.
50
+ Standard_EXPORT BRepTools_Modifier(const TopoDS_Shape& S);
51
+
52
+ //! Creates a modifier on the shape <S>, and performs
53
+ //! the modifications described by <M>.
54
+ Standard_EXPORT BRepTools_Modifier(const TopoDS_Shape& S,
55
+ const Handle(BRepTools_Modification)& M);
56
+
57
+ //! Initializes the modifier with the shape <S>.
58
+ Standard_EXPORT void Init(const TopoDS_Shape& S);
59
+
60
+ //! Performs the modifications described by <M>.
61
+ Standard_EXPORT void Perform(const Handle(BRepTools_Modification)& M,
62
+ const Message_ProgressRange& theProgress = Message_ProgressRange());
63
+
64
+ //! Returns Standard_True if the modification has
65
+ //! been computed successfully.
66
+ Standard_Boolean IsDone() const;
67
+
68
+ //! Returns the current mutable input state
69
+ Standard_EXPORT Standard_Boolean IsMutableInput() const;
70
+
71
+ //! Sets the mutable input state
72
+ //! If true then the input (original) shape can be modified
73
+ //! during modification process
74
+ Standard_EXPORT void SetMutableInput(Standard_Boolean theMutableInput);
75
+
76
+ //! Returns the modified shape corresponding to <S>.
77
+ const TopoDS_Shape& ModifiedShape(const TopoDS_Shape& S) const;
78
+
79
+ protected:
80
+ private:
81
+ struct NewCurveInfo
82
+ {
83
+ Handle(Geom_Curve) myCurve;
84
+ TopLoc_Location myLoc;
85
+ Standard_Real myToler;
86
+ };
87
+
88
+ struct NewSurfaceInfo
89
+ {
90
+ Handle(Geom_Surface) mySurface;
91
+ TopLoc_Location myLoc;
92
+ Standard_Real myToler;
93
+ Standard_Boolean myRevWires;
94
+ Standard_Boolean myRevFace;
95
+ };
96
+
97
+ Standard_EXPORT void Put(const TopoDS_Shape& S);
98
+
99
+ Standard_EXPORT Standard_Boolean
100
+ Rebuild(const TopoDS_Shape& S,
101
+ const Handle(BRepTools_Modification)& M,
102
+ Standard_Boolean& theNewGeom,
103
+ const Message_ProgressRange& theProgress = Message_ProgressRange());
104
+
105
+ Standard_EXPORT void CreateNewVertices(const TopTools_IndexedDataMapOfShapeListOfShape& theMVE,
106
+ const Handle(BRepTools_Modification)& M);
107
+
108
+ Standard_EXPORT void FillNewCurveInfo(const TopTools_IndexedDataMapOfShapeListOfShape& theMEF,
109
+ const Handle(BRepTools_Modification)& M);
110
+
111
+ Standard_EXPORT void FillNewSurfaceInfo(const Handle(BRepTools_Modification)& M);
112
+
113
+ Standard_EXPORT void CreateOtherVertices(const TopTools_IndexedDataMapOfShapeListOfShape& theMVE,
114
+ const TopTools_IndexedDataMapOfShapeListOfShape& theMEF,
115
+ const Handle(BRepTools_Modification)& M);
116
+
117
+ TopTools_DataMapOfShapeShape myMap;
118
+ TopoDS_Shape myShape;
119
+ Standard_Boolean myDone;
120
+ NCollection_DataMap<TopoDS_Edge, NewCurveInfo, TopTools_ShapeMapHasher> myNCInfo;
121
+ NCollection_DataMap<TopoDS_Face, NewSurfaceInfo, TopTools_ShapeMapHasher> myNSInfo;
122
+ TopTools_MapOfShape myNonUpdFace;
123
+ TopTools_MapOfShape myHasNewGeom;
124
+ Standard_Boolean myMutableInput;
125
+ };
126
+
127
+ #include <BRepTools_Modifier.lxx>
128
+
129
+ #endif // _BRepTools_Modifier_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRep_PointsOnSurface.hxx ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1993-08-10
2
+ // Created by: Remi LEQUETTE
3
+ // Copyright (c) 1993-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _BRep_PointsOnSurface_HeaderFile
18
+ #define _BRep_PointsOnSurface_HeaderFile
19
+
20
+ #include <Standard.hxx>
21
+
22
+ #include <BRep_PointRepresentation.hxx>
23
+ #include <Standard_Real.hxx>
24
+ class Geom_Surface;
25
+ class TopLoc_Location;
26
+
27
+ class BRep_PointsOnSurface;
28
+ DEFINE_STANDARD_HANDLE(BRep_PointsOnSurface, BRep_PointRepresentation)
29
+
30
+ //! Root for points on surface.
31
+ class BRep_PointsOnSurface : public BRep_PointRepresentation
32
+ {
33
+
34
+ public:
35
+ Standard_EXPORT virtual const Handle(Geom_Surface)& Surface() const Standard_OVERRIDE;
36
+
37
+ Standard_EXPORT virtual void Surface(const Handle(Geom_Surface)& S) Standard_OVERRIDE;
38
+
39
+ //! Dumps the content of me into the stream
40
+ Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream,
41
+ Standard_Integer theDepth = -1) const Standard_OVERRIDE;
42
+
43
+ DEFINE_STANDARD_RTTIEXT(BRep_PointsOnSurface, BRep_PointRepresentation)
44
+
45
+ protected:
46
+ Standard_EXPORT BRep_PointsOnSurface(const Standard_Real P,
47
+ const Handle(Geom_Surface)& S,
48
+ const TopLoc_Location& L);
49
+
50
+ private:
51
+ Handle(Geom_Surface) mySurface;
52
+ };
53
+
54
+ #endif // _BRep_PointsOnSurface_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BVH_QuadTree.hxx ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 2016-06-20
2
+ // Created by: Denis BOGOLEPOV
3
+ // Copyright (c) 2016 OPEN CASCADE SAS
4
+ //
5
+ // This file is part of Open CASCADE Technology software library.
6
+ //
7
+ // This library is free software; you can redistribute it and/or modify it under
8
+ // the terms of the GNU Lesser General Public License version 2.1 as published
9
+ // by the Free Software Foundation, with special exception defined in the file
10
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11
+ // distribution for complete text of the license and disclaimer of any warranty.
12
+ //
13
+ // Alternatively, this file may be used under the terms of Open CASCADE
14
+ // commercial license or contractual agreement.
15
+
16
+ #ifndef _BVH_QuadTree_Header
17
+ #define _BVH_QuadTree_Header
18
+
19
+ #include <BVH_Tree.hxx>
20
+
21
+ //! Specialization of quad BVH (QBVH) tree.
22
+ template <class T, int N>
23
+ class BVH_Tree<T, N, BVH_QuadTree> : public BVH_TreeBase<T, N>
24
+ {
25
+ public: //! @name general methods
26
+ //! Creates new empty BVH tree.
27
+ BVH_Tree()
28
+ : BVH_TreeBase<T, N>()
29
+ {
30
+ }
31
+
32
+ //! Returns index of the K-th child of the given inner node.
33
+ //! \tparam K the index of node child (from 0 to 3)
34
+ template <int K>
35
+ int Child(const int theNodeIndex) const
36
+ {
37
+ return BVH::Array<int, 4>::Value(this->myNodeInfoBuffer, theNodeIndex).y() + K;
38
+ }
39
+ };
40
+
41
+ #endif // _BVH_QuadTree_Header
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BVH_RadixSorter.hxx ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 2016-04-13
2
+ // Created by: Denis BOGOLEPOV
3
+ // Copyright (c) 2013-2016 OPEN CASCADE SAS
4
+ //
5
+ // This file is part of Open CASCADE Technology software library.
6
+ //
7
+ // This library is free software; you can redistribute it and/or modify it under
8
+ // the terms of the GNU Lesser General Public License version 2.1 as published
9
+ // by the Free Software Foundation, with special exception defined in the file
10
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11
+ // distribution for complete text of the license and disclaimer of any warranty.
12
+ //
13
+ // Alternatively, this file may be used under the terms of Open CASCADE
14
+ // commercial license or contractual agreement.
15
+
16
+ #ifndef _BVH_RadixSorter_Header
17
+ #define _BVH_RadixSorter_Header
18
+
19
+ #include <BVH_Sorter.hxx>
20
+ #include <BVH_Builder.hxx>
21
+ #include <NCollection_Array1.hxx>
22
+ #include <NCollection_Shared.hxx>
23
+ #include <OSD_Parallel.hxx>
24
+
25
+ #include <algorithm>
26
+
27
+ //! Pair of Morton code and primitive ID.
28
+ typedef std::pair<unsigned int, Standard_Integer> BVH_EncodedLink;
29
+
30
+ //! Performs radix sort of a BVH primitive set using
31
+ //! 10-bit Morton codes (or 1024 x 1024 x 1024 grid).
32
+ template <class T, int N>
33
+ class BVH_RadixSorter : public BVH_Sorter<T, N>
34
+ {
35
+ public:
36
+ typedef typename BVH::VectorType<T, N>::Type BVH_VecNt;
37
+
38
+ public:
39
+ //! Creates new BVH radix sorter for the given AABB.
40
+ BVH_RadixSorter(const BVH_Box<T, N>& theBox)
41
+ : myBox(theBox)
42
+ {
43
+ }
44
+
45
+ //! Sorts the set.
46
+ virtual void Perform(BVH_Set<T, N>* theSet) Standard_OVERRIDE
47
+ {
48
+ Perform(theSet, 0, theSet->Size() - 1);
49
+ }
50
+
51
+ //! Sorts the given (inclusive) range in the set.
52
+ virtual void Perform(BVH_Set<T, N>* theSet,
53
+ const Standard_Integer theStart,
54
+ const Standard_Integer theFinal) Standard_OVERRIDE;
55
+
56
+ //! Returns Morton codes assigned to BVH primitives.
57
+ const NCollection_Array1<BVH_EncodedLink>& EncodedLinks() const { return *myEncodedLinks; }
58
+
59
+ protected:
60
+ //! Axis-aligned bounding box (AABB) to perform sorting.
61
+ BVH_Box<T, N> myBox;
62
+
63
+ //! Morton codes assigned to BVH primitives.
64
+ Handle(NCollection_Shared<NCollection_Array1<BVH_EncodedLink>>) myEncodedLinks;
65
+ };
66
+
67
+ namespace BVH
68
+ {
69
+ // Radix sort STL predicate for 32-bit integer.
70
+ struct BitPredicate
71
+ {
72
+ unsigned int myBit;
73
+
74
+ //! Creates new radix sort predicate.
75
+ BitPredicate(const Standard_Integer theDigit)
76
+ : myBit(1U << theDigit)
77
+ {
78
+ }
79
+
80
+ //! Returns predicate value.
81
+ bool operator()(const BVH_EncodedLink theLink) const
82
+ {
83
+ return !(theLink.first & myBit); // 0-bit to the left side
84
+ }
85
+ };
86
+
87
+ //! STL compare tool used in binary search algorithm.
88
+ struct BitComparator
89
+ {
90
+ unsigned int myBit;
91
+
92
+ //! Creates new STL comparator.
93
+ BitComparator(const Standard_Integer theDigit)
94
+ : myBit(1U << theDigit)
95
+ {
96
+ }
97
+
98
+ //! Checks left value for the given bit.
99
+ bool operator()(BVH_EncodedLink theLink1, BVH_EncodedLink /*theLink2*/)
100
+ {
101
+ return !(theLink1.first & myBit);
102
+ }
103
+ };
104
+
105
+ //! Tool object for sorting link array using radix sort algorithm.
106
+ class RadixSorter
107
+ {
108
+ public:
109
+ typedef NCollection_Array1<BVH_EncodedLink>::iterator LinkIterator;
110
+
111
+ private:
112
+ //! Structure defining sorting range.
113
+ struct SortRange
114
+ {
115
+ LinkIterator myStart; //!< Start element of exclusive sorting range
116
+ LinkIterator myFinal; //!< Final element of exclusive sorting range
117
+ Standard_Integer myDigit; //!< Bit number used for partition operation
118
+ };
119
+
120
+ //! Functor class to run sorting in parallel.
121
+ class Functor
122
+ {
123
+ public:
124
+ Functor(const SortRange (&aSplits)[2], const Standard_Boolean isParallel)
125
+ : mySplits(aSplits),
126
+ myIsParallel(isParallel)
127
+ {
128
+ }
129
+
130
+ //! Runs sorting function for the given range.
131
+ void operator()(const Standard_Integer theIndex) const
132
+ {
133
+ RadixSorter::Sort(mySplits[theIndex].myStart,
134
+ mySplits[theIndex].myFinal,
135
+ mySplits[theIndex].myDigit,
136
+ myIsParallel);
137
+ }
138
+
139
+ private:
140
+ void operator=(const Functor&);
141
+
142
+ private:
143
+ const SortRange (&mySplits)[2];
144
+ Standard_Boolean myIsParallel;
145
+ };
146
+
147
+ public:
148
+ static void Sort(LinkIterator theStart,
149
+ LinkIterator theFinal,
150
+ Standard_Integer theDigit,
151
+ const Standard_Boolean isParallel)
152
+ {
153
+ if (theDigit < 24)
154
+ {
155
+ BVH::RadixSorter::perform(theStart, theFinal, theDigit);
156
+ }
157
+ else
158
+ {
159
+ LinkIterator anOffset = std::partition(theStart, theFinal, BitPredicate(theDigit));
160
+ SortRange aSplits[2] = {{theStart, anOffset, theDigit - 1},
161
+ {anOffset, theFinal, theDigit - 1}};
162
+
163
+ OSD_Parallel::For(0, 2, Functor(aSplits, isParallel), !isParallel);
164
+ }
165
+ }
166
+
167
+ protected:
168
+ // Performs MSD (most significant digit) radix sort.
169
+ static void perform(LinkIterator theStart, LinkIterator theFinal, Standard_Integer theDigit = 29)
170
+ {
171
+ while (theStart != theFinal && theDigit >= 0)
172
+ {
173
+ LinkIterator anOffset = std::partition(theStart, theFinal, BitPredicate(theDigit--));
174
+ perform(theStart, anOffset, theDigit);
175
+ theStart = anOffset;
176
+ }
177
+ }
178
+ };
179
+ } // namespace BVH
180
+
181
+ // =======================================================================
182
+ // function : Perform
183
+ // purpose :
184
+ // =======================================================================
185
+ template <class T, int N>
186
+ void BVH_RadixSorter<T, N>::Perform(BVH_Set<T, N>* theSet,
187
+ const Standard_Integer theStart,
188
+ const Standard_Integer theFinal)
189
+ {
190
+ Standard_STATIC_ASSERT(N == 2 || N == 3 || N == 4);
191
+
192
+ const Standard_Integer aDimension = 1024;
193
+ const Standard_Integer aNbEffComp = N == 2 ? 2 : 3; // 4th component is ignored
194
+
195
+ const BVH_VecNt aSceneMin = myBox.CornerMin();
196
+ const BVH_VecNt aSceneMax = myBox.CornerMax();
197
+
198
+ BVH_VecNt aNodeMinSizeVecT(static_cast<T>(BVH::THE_NODE_MIN_SIZE));
199
+ BVH::BoxMinMax<T, N>::CwiseMax(aNodeMinSizeVecT, aSceneMax - aSceneMin);
200
+
201
+ const BVH_VecNt aReverseSize = BVH_VecNt(static_cast<T>(aDimension)) / aNodeMinSizeVecT;
202
+
203
+ myEncodedLinks = new NCollection_Shared<NCollection_Array1<BVH_EncodedLink>>(theStart, theFinal);
204
+
205
+ // Step 1 -- Assign Morton code to each primitive
206
+ for (Standard_Integer aPrimIdx = theStart; aPrimIdx <= theFinal; ++aPrimIdx)
207
+ {
208
+ const BVH_VecNt aCenter = theSet->Box(aPrimIdx).Center();
209
+ const BVH_VecNt aVoxelF = (aCenter - aSceneMin) * aReverseSize;
210
+
211
+ unsigned int aMortonCode = 0;
212
+ for (Standard_Integer aCompIter = 0; aCompIter < aNbEffComp; ++aCompIter)
213
+ {
214
+ const Standard_Integer aVoxelI = BVH::IntFloor(BVH::VecComp<T, N>::Get(aVoxelF, aCompIter));
215
+
216
+ unsigned int aVoxel = static_cast<unsigned int>(Max(0, Min(aVoxelI, aDimension - 1)));
217
+
218
+ aVoxel = (aVoxel | (aVoxel << 16)) & 0x030000FF;
219
+ aVoxel = (aVoxel | (aVoxel << 8)) & 0x0300F00F;
220
+ aVoxel = (aVoxel | (aVoxel << 4)) & 0x030C30C3;
221
+ aVoxel = (aVoxel | (aVoxel << 2)) & 0x09249249;
222
+
223
+ aMortonCode |= (aVoxel << aCompIter);
224
+ }
225
+
226
+ myEncodedLinks->ChangeValue(aPrimIdx) = BVH_EncodedLink(aMortonCode, aPrimIdx);
227
+ }
228
+
229
+ // Step 2 -- Sort primitives by their Morton codes using radix sort
230
+ BVH::RadixSorter::Sort(myEncodedLinks->begin(), myEncodedLinks->end(), 29, this->IsParallel());
231
+
232
+ NCollection_Array1<Standard_Integer> aLinkMap(theStart, theFinal);
233
+ for (Standard_Integer aLinkIdx = theStart; aLinkIdx <= theFinal; ++aLinkIdx)
234
+ {
235
+ aLinkMap(myEncodedLinks->Value(aLinkIdx).second) = aLinkIdx;
236
+ }
237
+
238
+ // Step 3 -- Rearranging primitive list according to Morton codes (in place)
239
+ Standard_Integer aPrimIdx = theStart;
240
+ while (aPrimIdx <= theFinal)
241
+ {
242
+ const Standard_Integer aSortIdx = aLinkMap(aPrimIdx);
243
+ if (aPrimIdx != aSortIdx)
244
+ {
245
+ theSet->Swap(aPrimIdx, aSortIdx);
246
+ std::swap(aLinkMap(aPrimIdx), aLinkMap(aSortIdx));
247
+ }
248
+ else
249
+ {
250
+ ++aPrimIdx;
251
+ }
252
+ }
253
+ }
254
+
255
+ #endif // _BVH_RadixSorter_Header
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BiTgte_CurveOnVertex.hxx ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1997-03-21
2
+ // Created by: Bruno DUMORTIER
3
+ // Copyright (c) 1997-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _BiTgte_CurveOnVertex_HeaderFile
18
+ #define _BiTgte_CurveOnVertex_HeaderFile
19
+
20
+ #include <Standard.hxx>
21
+ #include <Standard_DefineAlloc.hxx>
22
+
23
+ #include <Standard_Real.hxx>
24
+ #include <Adaptor3d_Curve.hxx>
25
+ #include <GeomAbs_Shape.hxx>
26
+ #include <Standard_Integer.hxx>
27
+ #include <TColStd_Array1OfReal.hxx>
28
+ #include <Standard_Boolean.hxx>
29
+ #include <GeomAbs_CurveType.hxx>
30
+ class TopoDS_Edge;
31
+ class TopoDS_Vertex;
32
+ class gp_Vec;
33
+ class gp_Lin;
34
+ class gp_Circ;
35
+ class gp_Elips;
36
+ class gp_Hypr;
37
+ class gp_Parab;
38
+ class Geom_BezierCurve;
39
+ class Geom_BSplineCurve;
40
+
41
+ DEFINE_STANDARD_HANDLE(BiTgte_CurveOnVertex, Adaptor3d_Curve)
42
+
43
+ //! private class used to create a filler rolling on
44
+ //! an edge.
45
+ class BiTgte_CurveOnVertex : public Adaptor3d_Curve
46
+ {
47
+ DEFINE_STANDARD_RTTIEXT(BiTgte_CurveOnVertex, Adaptor3d_Curve)
48
+ public:
49
+ Standard_EXPORT BiTgte_CurveOnVertex();
50
+
51
+ Standard_EXPORT BiTgte_CurveOnVertex(const TopoDS_Edge& EonF, const TopoDS_Vertex& V);
52
+
53
+ Standard_EXPORT void Init(const TopoDS_Edge& EonF, const TopoDS_Vertex& V);
54
+
55
+ Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE;
56
+
57
+ Standard_EXPORT Standard_Real LastParameter() const Standard_OVERRIDE;
58
+
59
+ Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE;
60
+
61
+ //! Returns the number of intervals for continuity
62
+ //! <S>. May be one if Continuity(me) >= <S>
63
+ Standard_EXPORT Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE;
64
+
65
+ //! Stores in <T> the parameters bounding the intervals
66
+ //! of continuity <S>.
67
+ //!
68
+ //! The array must provide enough room to accommodate
69
+ //! for the parameters. i.e. T.Length() > NbIntervals()
70
+ Standard_EXPORT void Intervals(TColStd_Array1OfReal& T,
71
+ const GeomAbs_Shape S) const Standard_OVERRIDE;
72
+
73
+ //! Returns a curve equivalent of <me> between
74
+ //! parameters <First> and <Last>. <Tol> is used to
75
+ //! test for 3d points confusion.
76
+ //! If <First> >= <Last>
77
+ Standard_EXPORT Handle(Adaptor3d_Curve) Trim(const Standard_Real First,
78
+ const Standard_Real Last,
79
+ const Standard_Real Tol) const Standard_OVERRIDE;
80
+
81
+ Standard_EXPORT Standard_Boolean IsClosed() const Standard_OVERRIDE;
82
+
83
+ Standard_EXPORT Standard_Boolean IsPeriodic() const Standard_OVERRIDE;
84
+
85
+ Standard_EXPORT Standard_Real Period() const Standard_OVERRIDE;
86
+
87
+ //! Computes the point of parameter U on the curve.
88
+ Standard_EXPORT gp_Pnt Value(const Standard_Real U) const Standard_OVERRIDE;
89
+
90
+ //! Computes the point of parameter U on the curve.
91
+ Standard_EXPORT void D0(const Standard_Real U, gp_Pnt& P) const Standard_OVERRIDE;
92
+
93
+ //! Computes the point of parameter U on the curve with its
94
+ //! first derivative.
95
+ //! Raised if the continuity of the current interval
96
+ //! is not C1.
97
+ Standard_EXPORT void D1(const Standard_Real U, gp_Pnt& P, gp_Vec& V) const Standard_OVERRIDE;
98
+
99
+ //! Returns the point P of parameter U, the first and second
100
+ //! derivatives V1 and V2.
101
+ //! Raised if the continuity of the current interval
102
+ //! is not C2.
103
+ Standard_EXPORT void D2(const Standard_Real U,
104
+ gp_Pnt& P,
105
+ gp_Vec& V1,
106
+ gp_Vec& V2) const Standard_OVERRIDE;
107
+
108
+ //! Returns the point P of parameter U, the first, the second
109
+ //! and the third derivative.
110
+ //! Raised if the continuity of the current interval
111
+ //! is not C3.
112
+ Standard_EXPORT void D3(const Standard_Real U,
113
+ gp_Pnt& P,
114
+ gp_Vec& V1,
115
+ gp_Vec& V2,
116
+ gp_Vec& V3) const Standard_OVERRIDE;
117
+
118
+ //! The returned vector gives the value of the derivative for the
119
+ //! order of derivation N.
120
+ //! Raised if the continuity of the current interval
121
+ //! is not CN.
122
+ //! Raised if N < 1.
123
+ Standard_EXPORT gp_Vec DN(const Standard_Real U,
124
+ const Standard_Integer N) const Standard_OVERRIDE;
125
+
126
+ //! Returns the parametric resolution corresponding
127
+ //! to the real space resolution <R3d>.
128
+ Standard_EXPORT Standard_Real Resolution(const Standard_Real R3d) const Standard_OVERRIDE;
129
+
130
+ //! Returns the type of the curve in the current
131
+ //! interval : Line, Circle, Ellipse, Hyperbola,
132
+ //! Parabola, BezierCurve, BSplineCurve, OtherCurve.
133
+ Standard_EXPORT GeomAbs_CurveType GetType() const Standard_OVERRIDE;
134
+
135
+ Standard_EXPORT gp_Lin Line() const Standard_OVERRIDE;
136
+
137
+ Standard_EXPORT gp_Circ Circle() const Standard_OVERRIDE;
138
+
139
+ Standard_EXPORT gp_Elips Ellipse() const Standard_OVERRIDE;
140
+
141
+ Standard_EXPORT gp_Hypr Hyperbola() const Standard_OVERRIDE;
142
+
143
+ Standard_EXPORT gp_Parab Parabola() const Standard_OVERRIDE;
144
+
145
+ Standard_EXPORT Standard_Integer Degree() const Standard_OVERRIDE;
146
+
147
+ Standard_EXPORT Standard_Boolean IsRational() const Standard_OVERRIDE;
148
+
149
+ Standard_EXPORT Standard_Integer NbPoles() const Standard_OVERRIDE;
150
+
151
+ Standard_EXPORT Standard_Integer NbKnots() const Standard_OVERRIDE;
152
+
153
+ Standard_EXPORT Handle(Geom_BezierCurve) Bezier() const Standard_OVERRIDE;
154
+
155
+ Standard_EXPORT Handle(Geom_BSplineCurve) BSpline() const Standard_OVERRIDE;
156
+
157
+ private:
158
+ Standard_Real myFirst;
159
+ Standard_Real myLast;
160
+ gp_Pnt myPnt;
161
+ };
162
+
163
+ #endif // _BiTgte_CurveOnVertex_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinLDrivers_DocumentRetrievalDriver.hxx ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 2002-10-31
2
+ // Created by: Michael SAZONOV
3
+ // Copyright (c) 2002-2014 OPEN CASCADE SAS
4
+ //
5
+ // This file is part of Open CASCADE Technology software library.
6
+ //
7
+ // This library is free software; you can redistribute it and/or modify it under
8
+ // the terms of the GNU Lesser General Public License version 2.1 as published
9
+ // by the Free Software Foundation, with special exception defined in the file
10
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11
+ // distribution for complete text of the license and disclaimer of any warranty.
12
+ //
13
+ // Alternatively, this file may be used under the terms of Open CASCADE
14
+ // commercial license or contractual agreement.
15
+
16
+ #ifndef _BinLDrivers_DocumentRetrievalDriver_HeaderFile
17
+ #define _BinLDrivers_DocumentRetrievalDriver_HeaderFile
18
+
19
+ #include <Standard.hxx>
20
+
21
+ #include <BinObjMgt_Persistent.hxx>
22
+ #include <BinObjMgt_RRelocationTable.hxx>
23
+ #include <TColStd_MapOfInteger.hxx>
24
+ #include <BinLDrivers_VectorOfDocumentSection.hxx>
25
+ #include <PCDM_RetrievalDriver.hxx>
26
+ #include <Standard_Integer.hxx>
27
+ #include <Standard_IStream.hxx>
28
+ #include <Storage_Position.hxx>
29
+ #include <Storage_Data.hxx>
30
+
31
+ class BinMDF_ADriverTable;
32
+ class Message_Messenger;
33
+ class TCollection_ExtendedString;
34
+ class CDM_Document;
35
+ class CDM_Application;
36
+ class TDF_Label;
37
+ class BinLDrivers_DocumentSection;
38
+
39
+ class BinLDrivers_DocumentRetrievalDriver;
40
+ DEFINE_STANDARD_HANDLE(BinLDrivers_DocumentRetrievalDriver, PCDM_RetrievalDriver)
41
+
42
+ class BinLDrivers_DocumentRetrievalDriver : public PCDM_RetrievalDriver
43
+ {
44
+
45
+ public:
46
+ //! Constructor
47
+ Standard_EXPORT BinLDrivers_DocumentRetrievalDriver();
48
+
49
+ //! retrieves the content of the file into a new Document.
50
+ Standard_EXPORT virtual void Read(
51
+ const TCollection_ExtendedString& theFileName,
52
+ const Handle(CDM_Document)& theNewDocument,
53
+ const Handle(CDM_Application)& theApplication,
54
+ const Handle(PCDM_ReaderFilter)& theFilter = Handle(PCDM_ReaderFilter)(),
55
+ const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
56
+
57
+ Standard_EXPORT virtual void Read(
58
+ Standard_IStream& theIStream,
59
+ const Handle(Storage_Data)& theStorageData,
60
+ const Handle(CDM_Document)& theDoc,
61
+ const Handle(CDM_Application)& theApplication,
62
+ const Handle(PCDM_ReaderFilter)& theFilter = Handle(PCDM_ReaderFilter)(),
63
+ const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
64
+
65
+ Standard_EXPORT virtual Handle(BinMDF_ADriverTable) AttributeDrivers(
66
+ const Handle(Message_Messenger)& theMsgDriver);
67
+
68
+ DEFINE_STANDARD_RTTIEXT(BinLDrivers_DocumentRetrievalDriver, PCDM_RetrievalDriver)
69
+
70
+ protected:
71
+ //! Read the tree from the stream <theIS> to <theLabel>
72
+ Standard_EXPORT virtual Standard_Integer ReadSubTree(
73
+ Standard_IStream& theIS,
74
+ const TDF_Label& theData,
75
+ const Handle(PCDM_ReaderFilter)& theFilter,
76
+ const Standard_Boolean& theQuickPart,
77
+ const Standard_Boolean theReadMissing,
78
+ const Message_ProgressRange& theRanges = Message_ProgressRange());
79
+
80
+ //! define the procedure of reading a section to file.
81
+ Standard_EXPORT virtual void ReadSection(BinLDrivers_DocumentSection& theSection,
82
+ const Handle(CDM_Document)& theDoc,
83
+ Standard_IStream& theIS);
84
+
85
+ //! define the procedure of reading a shapes section to file.
86
+ Standard_EXPORT virtual void ReadShapeSection(
87
+ BinLDrivers_DocumentSection& theSection,
88
+ Standard_IStream& theIS,
89
+ const Standard_Boolean isMess = Standard_False,
90
+ const Message_ProgressRange& theRange = Message_ProgressRange());
91
+
92
+ //! checks the shapes section can be correctly retrieved.
93
+ Standard_EXPORT virtual void CheckShapeSection(const Storage_Position& thePos,
94
+ Standard_IStream& theIS);
95
+
96
+ //! clears the reading-cash data in drivers if any.
97
+ Standard_EXPORT virtual void Clear();
98
+
99
+ //! Check a file version(in which file was written) with a current version.
100
+ //! Redefining this method is a chance for application to read files
101
+ //! written by newer applications.
102
+ //! The default implementation: if the version of the file is greater than the
103
+ //! current or lesser than 2, then return false, else true
104
+ Standard_EXPORT virtual Standard_Boolean CheckDocumentVersion(
105
+ const Standard_Integer theFileVersion,
106
+ const Standard_Integer theCurVersion);
107
+
108
+ //! Return true if retrieved document allows to read parts quickly.
109
+ static Standard_Boolean IsQuickPart(const Standard_Integer theFileVer);
110
+
111
+ //! Enables reading in the quick part access mode.
112
+ Standard_EXPORT virtual void EnableQuickPartReading(
113
+ const Handle(Message_Messenger)& /*theMessageDriver*/,
114
+ Standard_Boolean /*theValue*/)
115
+ {
116
+ }
117
+
118
+ Handle(BinMDF_ADriverTable) myDrivers;
119
+ BinObjMgt_RRelocationTable myRelocTable;
120
+ Handle(Message_Messenger) myMsgDriver;
121
+
122
+ private:
123
+ BinObjMgt_Persistent myPAtt;
124
+ TColStd_MapOfInteger myMapUnsupported;
125
+ BinLDrivers_VectorOfDocumentSection mySections;
126
+ NCollection_Map<Standard_Integer> myUnresolvedLinks;
127
+ };
128
+
129
+ #endif // _BinLDrivers_DocumentRetrievalDriver_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDF_StringIdMap.hxx ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 2002-10-29
2
+ // Created by: Michael SAZONOV
3
+ // Copyright (c) 2002-2014 OPEN CASCADE SAS
4
+ //
5
+ // This file is part of Open CASCADE Technology software library.
6
+ //
7
+ // This library is free software; you can redistribute it and/or modify it under
8
+ // the terms of the GNU Lesser General Public License version 2.1 as published
9
+ // by the Free Software Foundation, with special exception defined in the file
10
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11
+ // distribution for complete text of the license and disclaimer of any warranty.
12
+ //
13
+ // Alternatively, this file may be used under the terms of Open CASCADE
14
+ // commercial license or contractual agreement.
15
+
16
+ #ifndef _BinMDF_StringIdMap_HeaderFile
17
+ #define _BinMDF_StringIdMap_HeaderFile
18
+
19
+ #include <TColStd_DataMapOfAsciiStringInteger.hxx>
20
+
21
+ typedef TColStd_DataMapOfAsciiStringInteger BinMDF_StringIdMap;
22
+
23
+ #endif // _BinMDF_StringIdMap_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDF_TagSourceDriver.hxx ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 2002-11-19
2
+ // Created by: Edward AGAPOV
3
+ // Copyright (c) 2002-2014 OPEN CASCADE SAS
4
+ //
5
+ // This file is part of Open CASCADE Technology software library.
6
+ //
7
+ // This library is free software; you can redistribute it and/or modify it under
8
+ // the terms of the GNU Lesser General Public License version 2.1 as published
9
+ // by the Free Software Foundation, with special exception defined in the file
10
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11
+ // distribution for complete text of the license and disclaimer of any warranty.
12
+ //
13
+ // Alternatively, this file may be used under the terms of Open CASCADE
14
+ // commercial license or contractual agreement.
15
+
16
+ #ifndef _BinMDF_TagSourceDriver_HeaderFile
17
+ #define _BinMDF_TagSourceDriver_HeaderFile
18
+
19
+ #include <Standard.hxx>
20
+
21
+ #include <BinMDF_ADriver.hxx>
22
+ #include <BinObjMgt_RRelocationTable.hxx>
23
+ #include <BinObjMgt_SRelocationTable.hxx>
24
+ class Message_Messenger;
25
+ class TDF_Attribute;
26
+ class BinObjMgt_Persistent;
27
+
28
+ class BinMDF_TagSourceDriver;
29
+ DEFINE_STANDARD_HANDLE(BinMDF_TagSourceDriver, BinMDF_ADriver)
30
+
31
+ //! TDF_TagSource Driver.
32
+ class BinMDF_TagSourceDriver : public BinMDF_ADriver
33
+ {
34
+
35
+ public:
36
+ Standard_EXPORT BinMDF_TagSourceDriver(const Handle(Message_Messenger)& theMessageDriver);
37
+
38
+ Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;
39
+
40
+ Standard_EXPORT Standard_Boolean
41
+ Paste(const BinObjMgt_Persistent& Source,
42
+ const Handle(TDF_Attribute)& Target,
43
+ BinObjMgt_RRelocationTable& RelocTable) const Standard_OVERRIDE;
44
+
45
+ Standard_EXPORT void Paste(const Handle(TDF_Attribute)& Source,
46
+ BinObjMgt_Persistent& Target,
47
+ BinObjMgt_SRelocationTable& RelocTable) const Standard_OVERRIDE;
48
+
49
+ DEFINE_STANDARD_RTTIEXT(BinMDF_TagSourceDriver, BinMDF_ADriver)
50
+
51
+ protected:
52
+ private:
53
+ };
54
+
55
+ #endif // _BinMDF_TagSourceDriver_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDataStd_ExpressionDriver.hxx ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 2001-09-12
2
+ // Created by: Julia DOROVSKIKH
3
+ // Copyright (c) 2001-2014 OPEN CASCADE SAS
4
+ //
5
+ // This file is part of Open CASCADE Technology software library.
6
+ //
7
+ // This library is free software; you can redistribute it and/or modify it under
8
+ // the terms of the GNU Lesser General Public License version 2.1 as published
9
+ // by the Free Software Foundation, with special exception defined in the file
10
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11
+ // distribution for complete text of the license and disclaimer of any warranty.
12
+ //
13
+ // Alternatively, this file may be used under the terms of Open CASCADE
14
+ // commercial license or contractual agreement.
15
+
16
+ #ifndef _BinMDataStd_ExpressionDriver_HeaderFile
17
+ #define _BinMDataStd_ExpressionDriver_HeaderFile
18
+
19
+ #include <Standard.hxx>
20
+
21
+ #include <BinMDF_ADriver.hxx>
22
+ #include <BinObjMgt_RRelocationTable.hxx>
23
+ #include <BinObjMgt_SRelocationTable.hxx>
24
+ class Message_Messenger;
25
+ class TDF_Attribute;
26
+ class BinObjMgt_Persistent;
27
+
28
+ class BinMDataStd_ExpressionDriver;
29
+ DEFINE_STANDARD_HANDLE(BinMDataStd_ExpressionDriver, BinMDF_ADriver)
30
+
31
+ //! Attribute Driver.
32
+ class BinMDataStd_ExpressionDriver : public BinMDF_ADriver
33
+ {
34
+
35
+ public:
36
+ Standard_EXPORT BinMDataStd_ExpressionDriver(const Handle(Message_Messenger)& theMessageDriver);
37
+
38
+ Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;
39
+
40
+ Standard_EXPORT Standard_Boolean
41
+ Paste(const BinObjMgt_Persistent& Source,
42
+ const Handle(TDF_Attribute)& Target,
43
+ BinObjMgt_RRelocationTable& RelocTable) const Standard_OVERRIDE;
44
+
45
+ Standard_EXPORT void Paste(const Handle(TDF_Attribute)& Source,
46
+ BinObjMgt_Persistent& Target,
47
+ BinObjMgt_SRelocationTable& RelocTable) const Standard_OVERRIDE;
48
+
49
+ DEFINE_STANDARD_RTTIEXT(BinMDataStd_ExpressionDriver, BinMDF_ADriver)
50
+
51
+ protected:
52
+ private:
53
+ };
54
+
55
+ #endif // _BinMDataStd_ExpressionDriver_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDataStd_UAttributeDriver.hxx ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 2001-08-24
2
+ // Created by: Alexander GRIGORIEV
3
+ // Copyright (c) 2001-2014 OPEN CASCADE SAS
4
+ //
5
+ // This file is part of Open CASCADE Technology software library.
6
+ //
7
+ // This library is free software; you can redistribute it and/or modify it under
8
+ // the terms of the GNU Lesser General Public License version 2.1 as published
9
+ // by the Free Software Foundation, with special exception defined in the file
10
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11
+ // distribution for complete text of the license and disclaimer of any warranty.
12
+ //
13
+ // Alternatively, this file may be used under the terms of Open CASCADE
14
+ // commercial license or contractual agreement.
15
+
16
+ #ifndef _BinMDataStd_UAttributeDriver_HeaderFile
17
+ #define _BinMDataStd_UAttributeDriver_HeaderFile
18
+
19
+ #include <Standard.hxx>
20
+
21
+ #include <BinMDF_ADriver.hxx>
22
+ #include <BinObjMgt_RRelocationTable.hxx>
23
+ #include <BinObjMgt_SRelocationTable.hxx>
24
+ class Message_Messenger;
25
+ class TDF_Attribute;
26
+ class BinObjMgt_Persistent;
27
+
28
+ class BinMDataStd_UAttributeDriver;
29
+ DEFINE_STANDARD_HANDLE(BinMDataStd_UAttributeDriver, BinMDF_ADriver)
30
+
31
+ //! Attribute Driver.
32
+ class BinMDataStd_UAttributeDriver : public BinMDF_ADriver
33
+ {
34
+
35
+ public:
36
+ Standard_EXPORT BinMDataStd_UAttributeDriver(const Handle(Message_Messenger)& theMessageDriver);
37
+
38
+ Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;
39
+
40
+ Standard_EXPORT Standard_Boolean
41
+ Paste(const BinObjMgt_Persistent& Source,
42
+ const Handle(TDF_Attribute)& Target,
43
+ BinObjMgt_RRelocationTable& RelocTable) const Standard_OVERRIDE;
44
+
45
+ Standard_EXPORT void Paste(const Handle(TDF_Attribute)& Source,
46
+ BinObjMgt_Persistent& Target,
47
+ BinObjMgt_SRelocationTable& RelocTable) const Standard_OVERRIDE;
48
+
49
+ DEFINE_STANDARD_RTTIEXT(BinMDataStd_UAttributeDriver, BinMDF_ADriver)
50
+
51
+ protected:
52
+ private:
53
+ };
54
+
55
+ #endif // _BinMDataStd_UAttributeDriver_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinObjMgt_PChar.hxx ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 2003-03-24
2
+ // Created by: Michael SAZONOV
3
+ // Copyright (c) 2003-2014 OPEN CASCADE SAS
4
+ //
5
+ // This file is part of Open CASCADE Technology software library.
6
+ //
7
+ // This library is free software; you can redistribute it and/or modify it under
8
+ // the terms of the GNU Lesser General Public License version 2.1 as published
9
+ // by the Free Software Foundation, with special exception defined in the file
10
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11
+ // distribution for complete text of the license and disclaimer of any warranty.
12
+ //
13
+ // Alternatively, this file may be used under the terms of Open CASCADE
14
+ // commercial license or contractual agreement.
15
+
16
+ #ifndef BinObjMgt_PChar_HeaderFile
17
+ #define BinObjMgt_PChar_HeaderFile
18
+
19
+ #include <Standard_TypeDef.hxx>
20
+
21
+ typedef Standard_Character* BinObjMgt_PChar;
22
+
23
+ #endif
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinObjMgt_Position.hxx ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright (c) 2021 OPEN CASCADE SAS
2
+ //
3
+ // This file is part of Open CASCADE Technology software library.
4
+ //
5
+ // This library is free software; you can redistribute it and/or modify it under
6
+ // the terms of the GNU Lesser General Public License version 2.1 as published
7
+ // by the Free Software Foundation, with special exception defined in the file
8
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9
+ // distribution for complete text of the license and disclaimer of any warranty.
10
+ //
11
+ // Alternatively, this file may be used under the terms of Open CASCADE
12
+ // commercial license or contractual agreement.
13
+
14
+ #ifndef _BinObjMgt_Position_HeaderFile
15
+ #define _BinObjMgt_Position_HeaderFile
16
+
17
+ #include <Standard_Type.hxx>
18
+
19
+ class BinObjMgt_Position;
20
+ DEFINE_STANDARD_HANDLE(BinObjMgt_Position, Standard_Transient)
21
+
22
+ //! Stores and manipulates position in the stream.
23
+ class BinObjMgt_Position : public Standard_Transient
24
+ {
25
+ public:
26
+ DEFINE_STANDARD_ALLOC
27
+
28
+ //! Creates position using the current stream position.
29
+ Standard_EXPORT BinObjMgt_Position(Standard_OStream& theStream);
30
+
31
+ //! Stores the difference between the current position and the stored one.
32
+ Standard_EXPORT void StoreSize(Standard_OStream& theStream);
33
+ //! Writes stored size at the stored position. Changes the current stream position.
34
+ //! If theDummy is true, is writes to the current position zero size.
35
+ Standard_EXPORT void WriteSize(Standard_OStream& theStream,
36
+ const Standard_Boolean theDummy = Standard_False);
37
+
38
+ DEFINE_STANDARD_RTTIEXT(BinObjMgt_Position, Standard_Transient)
39
+
40
+ private:
41
+ std::streampos myPosition;
42
+ uint64_t mySize;
43
+ };
44
+
45
+ #endif // _BinObjMgt_Position_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BlendFunc_EvolRad.hxx ADDED
@@ -0,0 +1,299 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1993-12-20
2
+ // Created by: Jacques GOUSSARD
3
+ // Copyright (c) 1993-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _BlendFunc_EvolRad_HeaderFile
18
+ #define _BlendFunc_EvolRad_HeaderFile
19
+
20
+ #include <Adaptor3d_Surface.hxx>
21
+ #include <gp_Pnt.hxx>
22
+ #include <gp_Vec.hxx>
23
+ #include <gp_Vec2d.hxx>
24
+ #include <math_Matrix.hxx>
25
+ #include <BlendFunc_Tensor.hxx>
26
+ #include <BlendFunc_SectionShape.hxx>
27
+ #include <Convert_ParameterisationType.hxx>
28
+ #include <Blend_Function.hxx>
29
+ #include <TColStd_Array1OfReal.hxx>
30
+ #include <GeomAbs_Shape.hxx>
31
+ #include <TColStd_Array1OfInteger.hxx>
32
+ #include <TColgp_Array1OfPnt.hxx>
33
+ #include <TColgp_Array1OfVec.hxx>
34
+ #include <TColgp_Array1OfPnt2d.hxx>
35
+ #include <TColgp_Array1OfVec2d.hxx>
36
+
37
+ class Law_Function;
38
+ class gp_Circ;
39
+ class Blend_Point;
40
+
41
+ class BlendFunc_EvolRad : public Blend_Function
42
+ {
43
+ public:
44
+ DEFINE_STANDARD_ALLOC
45
+
46
+ Standard_EXPORT BlendFunc_EvolRad(const Handle(Adaptor3d_Surface)& S1,
47
+ const Handle(Adaptor3d_Surface)& S2,
48
+ const Handle(Adaptor3d_Curve)& C,
49
+ const Handle(Law_Function)& Law);
50
+
51
+ //! returns the number of equations of the function.
52
+ Standard_EXPORT Standard_Integer NbEquations() const Standard_OVERRIDE;
53
+
54
+ //! computes the values <F> of the Functions for the
55
+ //! variable <X>.
56
+ //! Returns True if the computation was done successfully,
57
+ //! False otherwise.
58
+ Standard_EXPORT Standard_Boolean Value(const math_Vector& X, math_Vector& F) Standard_OVERRIDE;
59
+
60
+ //! returns the values <D> of the derivatives for the
61
+ //! variable <X>.
62
+ //! Returns True if the computation was done successfully,
63
+ //! False otherwise.
64
+ Standard_EXPORT Standard_Boolean Derivatives(const math_Vector& X,
65
+ math_Matrix& D) Standard_OVERRIDE;
66
+
67
+ //! returns the values <F> of the functions and the derivatives
68
+ //! <D> for the variable <X>.
69
+ //! Returns True if the computation was done successfully,
70
+ //! False otherwise.
71
+ Standard_EXPORT Standard_Boolean Values(const math_Vector& X,
72
+ math_Vector& F,
73
+ math_Matrix& D) Standard_OVERRIDE;
74
+
75
+ Standard_EXPORT void Set(const Standard_Real Param) Standard_OVERRIDE;
76
+
77
+ Standard_EXPORT void Set(const Standard_Real First, const Standard_Real Last) Standard_OVERRIDE;
78
+
79
+ Standard_EXPORT void GetTolerance(math_Vector& Tolerance,
80
+ const Standard_Real Tol) const Standard_OVERRIDE;
81
+
82
+ Standard_EXPORT void GetBounds(math_Vector& InfBound,
83
+ math_Vector& SupBound) const Standard_OVERRIDE;
84
+
85
+ Standard_EXPORT Standard_Boolean IsSolution(const math_Vector& Sol,
86
+ const Standard_Real Tol) Standard_OVERRIDE;
87
+
88
+ //! Returns the minimal Distance between two
89
+ //! extremities of calculated sections.
90
+ Standard_EXPORT Standard_Real GetMinimalDistance() const Standard_OVERRIDE;
91
+
92
+ Standard_EXPORT const gp_Pnt& PointOnS1() const Standard_OVERRIDE;
93
+
94
+ Standard_EXPORT const gp_Pnt& PointOnS2() const Standard_OVERRIDE;
95
+
96
+ Standard_EXPORT Standard_Boolean IsTangencyPoint() const Standard_OVERRIDE;
97
+
98
+ Standard_EXPORT const gp_Vec& TangentOnS1() const Standard_OVERRIDE;
99
+
100
+ Standard_EXPORT const gp_Vec2d& Tangent2dOnS1() const Standard_OVERRIDE;
101
+
102
+ Standard_EXPORT const gp_Vec& TangentOnS2() const Standard_OVERRIDE;
103
+
104
+ Standard_EXPORT const gp_Vec2d& Tangent2dOnS2() const Standard_OVERRIDE;
105
+
106
+ //! Returns the tangent vector at the section,
107
+ //! at the beginning and the end of the section, and
108
+ //! returns the normal (of the surfaces) at
109
+ //! these points.
110
+ Standard_EXPORT void Tangent(const Standard_Real U1,
111
+ const Standard_Real V1,
112
+ const Standard_Real U2,
113
+ const Standard_Real V2,
114
+ gp_Vec& TgFirst,
115
+ gp_Vec& TgLast,
116
+ gp_Vec& NormFirst,
117
+ gp_Vec& NormLast) const Standard_OVERRIDE;
118
+
119
+ Standard_EXPORT virtual Standard_Boolean TwistOnS1() const Standard_OVERRIDE;
120
+
121
+ Standard_EXPORT virtual Standard_Boolean TwistOnS2() const Standard_OVERRIDE;
122
+
123
+ Standard_EXPORT void Set(const Standard_Integer Choix);
124
+
125
+ //! Sets the type of section generation for the
126
+ //! approximations.
127
+ Standard_EXPORT void Set(const BlendFunc_SectionShape TypeSection);
128
+
129
+ //! Method for graphic traces
130
+ Standard_EXPORT void Section(const Standard_Real Param,
131
+ const Standard_Real U1,
132
+ const Standard_Real V1,
133
+ const Standard_Real U2,
134
+ const Standard_Real V2,
135
+ Standard_Real& Pdeb,
136
+ Standard_Real& Pfin,
137
+ gp_Circ& C);
138
+
139
+ //! Returns if the section is rational
140
+ Standard_EXPORT Standard_Boolean IsRational() const Standard_OVERRIDE;
141
+
142
+ //! Returns the length of the maximum section
143
+ Standard_EXPORT Standard_Real GetSectionSize() const Standard_OVERRIDE;
144
+
145
+ //! Compute the minimal value of weight for each poles
146
+ //! of all sections.
147
+ Standard_EXPORT void GetMinimalWeight(TColStd_Array1OfReal& Weigths) const Standard_OVERRIDE;
148
+
149
+ //! Returns the number of intervals for continuity
150
+ //! <S>. May be one if Continuity(me) >= <S>
151
+ Standard_EXPORT Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE;
152
+
153
+ //! Stores in <T> the parameters bounding the intervals
154
+ //! of continuity <S>.
155
+ //!
156
+ //! The array must provide enough room to accommodate
157
+ //! for the parameters. i.e. T.Length() > NbIntervals()
158
+ Standard_EXPORT void Intervals(TColStd_Array1OfReal& T,
159
+ const GeomAbs_Shape S) const Standard_OVERRIDE;
160
+
161
+ Standard_EXPORT void GetShape(Standard_Integer& NbPoles,
162
+ Standard_Integer& NbKnots,
163
+ Standard_Integer& Degree,
164
+ Standard_Integer& NbPoles2d) Standard_OVERRIDE;
165
+
166
+ //! Returns the tolerance to reach in approximation
167
+ //! to respect
168
+ //! BoundTol error at the Boundary
169
+ //! AngleTol tangent error at the Boundary
170
+ //! SurfTol error inside the surface.
171
+ Standard_EXPORT void GetTolerance(const Standard_Real BoundTol,
172
+ const Standard_Real SurfTol,
173
+ const Standard_Real AngleTol,
174
+ math_Vector& Tol3d,
175
+ math_Vector& Tol1D) const Standard_OVERRIDE;
176
+
177
+ Standard_EXPORT void Knots(TColStd_Array1OfReal& TKnots) Standard_OVERRIDE;
178
+
179
+ Standard_EXPORT void Mults(TColStd_Array1OfInteger& TMults) Standard_OVERRIDE;
180
+
181
+ //! Used for the first and last section
182
+ Standard_EXPORT virtual Standard_Boolean Section(const Blend_Point& P,
183
+ TColgp_Array1OfPnt& Poles,
184
+ TColgp_Array1OfVec& DPoles,
185
+ TColgp_Array1OfVec& D2Poles,
186
+ TColgp_Array1OfPnt2d& Poles2d,
187
+ TColgp_Array1OfVec2d& DPoles2d,
188
+ TColgp_Array1OfVec2d& D2Poles2d,
189
+ TColStd_Array1OfReal& Weigths,
190
+ TColStd_Array1OfReal& DWeigths,
191
+ TColStd_Array1OfReal& D2Weigths)
192
+ Standard_OVERRIDE;
193
+
194
+ //! Used for the first and last section
195
+ Standard_EXPORT virtual Standard_Boolean Section(const Blend_Point& P,
196
+ TColgp_Array1OfPnt& Poles,
197
+ TColgp_Array1OfVec& DPoles,
198
+ TColgp_Array1OfPnt2d& Poles2d,
199
+ TColgp_Array1OfVec2d& DPoles2d,
200
+ TColStd_Array1OfReal& Weigths,
201
+ TColStd_Array1OfReal& DWeigths)
202
+ Standard_OVERRIDE;
203
+
204
+ Standard_EXPORT void Section(const Blend_Point& P,
205
+ TColgp_Array1OfPnt& Poles,
206
+ TColgp_Array1OfPnt2d& Poles2d,
207
+ TColStd_Array1OfReal& Weigths) Standard_OVERRIDE;
208
+
209
+ Standard_EXPORT void Resolution(const Standard_Integer IC2d,
210
+ const Standard_Real Tol,
211
+ Standard_Real& TolU,
212
+ Standard_Real& TolV) const Standard_OVERRIDE;
213
+
214
+ protected:
215
+ private:
216
+ Standard_EXPORT Standard_Boolean ComputeValues(const math_Vector& X,
217
+ const Standard_Integer Order,
218
+ const Standard_Boolean ByParam = Standard_False,
219
+ const Standard_Real Param = 0);
220
+
221
+ Handle(Adaptor3d_Surface) surf1;
222
+ Handle(Adaptor3d_Surface) surf2;
223
+ Handle(Adaptor3d_Curve) curv;
224
+ Handle(Adaptor3d_Curve) tcurv;
225
+ Handle(Law_Function) fevol;
226
+ Handle(Law_Function) tevol;
227
+ gp_Pnt pts1;
228
+ gp_Pnt pts2;
229
+ Standard_Boolean istangent;
230
+ gp_Vec tg1;
231
+ gp_Vec2d tg12d;
232
+ gp_Vec tg2;
233
+ gp_Vec2d tg22d;
234
+ Standard_Real param;
235
+ Standard_Real sg1;
236
+ Standard_Real sg2;
237
+ Standard_Real ray;
238
+ Standard_Real dray;
239
+ Standard_Real d2ray;
240
+ Standard_Integer choix;
241
+ Standard_Integer myXOrder;
242
+ Standard_Integer myTOrder;
243
+ math_Vector xval;
244
+ Standard_Real tval;
245
+ gp_Vec d1u1;
246
+ gp_Vec d1u2;
247
+ gp_Vec d1v1;
248
+ gp_Vec d1v2;
249
+ gp_Vec d2u1;
250
+ gp_Vec d2v1;
251
+ gp_Vec d2uv1;
252
+ gp_Vec d2u2;
253
+ gp_Vec d2v2;
254
+ gp_Vec d2uv2;
255
+ gp_Vec dn1w;
256
+ gp_Vec dn2w;
257
+ gp_Vec d2n1w;
258
+ gp_Vec d2n2w;
259
+ gp_Vec nplan;
260
+ gp_Vec nsurf1;
261
+ gp_Vec nsurf2;
262
+ gp_Vec dns1u1;
263
+ gp_Vec dns1u2;
264
+ gp_Vec dns1v1;
265
+ gp_Vec dns1v2;
266
+ gp_Vec dnplan;
267
+ gp_Vec d2nplan;
268
+ gp_Vec dnsurf1;
269
+ gp_Vec dnsurf2;
270
+ gp_Vec dndu1;
271
+ gp_Vec dndu2;
272
+ gp_Vec dndv1;
273
+ gp_Vec dndv2;
274
+ gp_Vec d2ndu1;
275
+ gp_Vec d2ndu2;
276
+ gp_Vec d2ndv1;
277
+ gp_Vec d2ndv2;
278
+ gp_Vec d2nduv1;
279
+ gp_Vec d2nduv2;
280
+ gp_Vec d2ndtu1;
281
+ gp_Vec d2ndtu2;
282
+ gp_Vec d2ndtv1;
283
+ gp_Vec d2ndtv2;
284
+ math_Vector E;
285
+ math_Matrix DEDX;
286
+ math_Vector DEDT;
287
+ BlendFunc_Tensor D2EDX2;
288
+ math_Matrix D2EDXDT;
289
+ math_Vector D2EDT2;
290
+ Standard_Real minang;
291
+ Standard_Real maxang;
292
+ Standard_Real lengthmin;
293
+ Standard_Real lengthmax;
294
+ Standard_Real distmin;
295
+ BlendFunc_SectionShape mySShape;
296
+ Convert_ParameterisationType myTConv;
297
+ };
298
+
299
+ #endif // _BlendFunc_EvolRad_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/CDM_MetaDataLookUpTable.hxx ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1997-05-06
2
+ // Created by: Jean-Louis Frenkel, Remi Lequette
3
+ // Copyright (c) 1997-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef CDM_MetaDataLookUpTable_HeaderFile
18
+ #define CDM_MetaDataLookUpTable_HeaderFile
19
+
20
+ #include <TCollection_ExtendedString.hxx>
21
+ #include <NCollection_DataMap.hxx>
22
+ class CDM_MetaData;
23
+
24
+ typedef NCollection_DataMap<TCollection_ExtendedString, Handle(CDM_MetaData)>
25
+ CDM_MetaDataLookUpTable;
26
+ typedef NCollection_DataMap<TCollection_ExtendedString, Handle(CDM_MetaData)>::Iterator
27
+ CDM_DataMapIteratorOfMetaDataLookUpTable;
28
+
29
+ #endif
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFi2d_AnaFilletAlgo.hxx ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 2013-05-20
2
+ // Created by: Vlad ROMASHKO
3
+ // Copyright (c) 2003-2014 OPEN CASCADE SAS
4
+ //
5
+ // This file is part of Open CASCADE Technology software library.
6
+ //
7
+ // This library is free software; you can redistribute it and/or modify it under
8
+ // the terms of the GNU Lesser General Public License version 2.1 as published
9
+ // by the Free Software Foundation, with special exception defined in the file
10
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11
+ // distribution for complete text of the license and disclaimer of any warranty.
12
+ //
13
+ // Alternatively, this file may be used under the terms of Open CASCADE
14
+ // commercial license or contractual agreement.
15
+
16
+ #ifndef ChFi2d_AnaFilletAlgo_HeaderFile
17
+ #define ChFi2d_AnaFilletAlgo_HeaderFile
18
+
19
+ #include <TopoDS_Wire.hxx>
20
+ #include <TopoDS_Edge.hxx>
21
+ #include <gp_Pln.hxx>
22
+
23
+ //! An analytical algorithm for calculation of the fillets.
24
+ //! It is implemented for segments and arcs of circle only.
25
+ class ChFi2d_AnaFilletAlgo
26
+ {
27
+ public:
28
+ //! An empty constructor.
29
+ //! Use the method Init() to initialize the class.
30
+ Standard_EXPORT ChFi2d_AnaFilletAlgo();
31
+
32
+ //! A constructor.
33
+ //! It expects a wire consisting of two edges of type (any combination of):
34
+ //! - segment
35
+ //! - arc of circle.
36
+ Standard_EXPORT ChFi2d_AnaFilletAlgo(const TopoDS_Wire& theWire, const gp_Pln& thePlane);
37
+
38
+ //! A constructor.
39
+ //! It expects two edges having a common point of type:
40
+ //! - segment
41
+ //! - arc of circle.
42
+ Standard_EXPORT ChFi2d_AnaFilletAlgo(const TopoDS_Edge& theEdge1,
43
+ const TopoDS_Edge& theEdge2,
44
+ const gp_Pln& thePlane);
45
+
46
+ //! Initializes the class by a wire consisting of two edges.
47
+ Standard_EXPORT void Init(const TopoDS_Wire& theWire, const gp_Pln& thePlane);
48
+
49
+ //! Initializes the class by two edges.
50
+ Standard_EXPORT void Init(const TopoDS_Edge& theEdge1,
51
+ const TopoDS_Edge& theEdge2,
52
+ const gp_Pln& thePlane);
53
+
54
+ //! Calculates a fillet.
55
+ Standard_EXPORT Standard_Boolean Perform(const Standard_Real radius);
56
+
57
+ //! Retrieves a result (fillet and shrinked neighbours).
58
+ Standard_EXPORT const TopoDS_Edge& Result(TopoDS_Edge& e1, TopoDS_Edge& e2);
59
+
60
+ private:
61
+ // WW5 method to compute fillet.
62
+ // It returns a constructed fillet definition:
63
+ // center point (xc, yc)
64
+ // point on the 1st segment (xstart, ystart)
65
+ // point on the 2nd segment (xend, yend)
66
+ // is the arc of fillet clockwise (cw = true) or counterclockwise (cw = false).
67
+ Standard_Boolean SegmentFilletSegment(const Standard_Real radius,
68
+ Standard_Real& xc,
69
+ Standard_Real& yc,
70
+ Standard_Boolean& cw,
71
+ Standard_Real& start,
72
+ Standard_Real& end);
73
+
74
+ // A function constructs a fillet between a segment and an arc.
75
+ Standard_Boolean SegmentFilletArc(const Standard_Real radius,
76
+ Standard_Real& xc,
77
+ Standard_Real& yc,
78
+ Standard_Boolean& cw,
79
+ Standard_Real& start,
80
+ Standard_Real& end,
81
+ Standard_Real& xend,
82
+ Standard_Real& yend);
83
+
84
+ // A function constructs a fillet between an arc and a segment.
85
+ Standard_Boolean ArcFilletSegment(const Standard_Real radius,
86
+ Standard_Real& xc,
87
+ Standard_Real& yc,
88
+ Standard_Boolean& cw,
89
+ Standard_Real& start,
90
+ Standard_Real& end,
91
+ Standard_Real& xstart,
92
+ Standard_Real& ystart);
93
+
94
+ // WW5 method to compute fillet: arc - arc.
95
+ // It returns a constructed fillet definition:
96
+ // center point (xc, yc)
97
+ // shrinking parameter of the 1st circle (start)
98
+ // shrinking parameter of the 2nd circle (end)
99
+ // if the arc of fillet clockwise (cw = true) or counterclockwise (cw = false).
100
+ Standard_Boolean ArcFilletArc(const Standard_Real radius,
101
+ Standard_Real& xc,
102
+ Standard_Real& yc,
103
+ Standard_Boolean& cw,
104
+ Standard_Real& start,
105
+ Standard_Real& end);
106
+
107
+ // Cuts intersecting edges of a contour.
108
+ Standard_Boolean Cut(const gp_Pln& plane, TopoDS_Edge& e1, TopoDS_Edge& e2);
109
+
110
+ // Plane.
111
+ gp_Pln plane;
112
+
113
+ // Left neighbour.
114
+ TopoDS_Edge e1;
115
+ Standard_Boolean segment1;
116
+ Standard_Real x11;
117
+ Standard_Real y11;
118
+ Standard_Real x12;
119
+ Standard_Real y12;
120
+ Standard_Real xc1;
121
+ Standard_Real yc1;
122
+ Standard_Real radius1;
123
+ Standard_Boolean cw1;
124
+
125
+ // Right neighbour.
126
+ TopoDS_Edge e2;
127
+ Standard_Boolean segment2;
128
+ Standard_Real x21;
129
+ Standard_Real y21;
130
+ Standard_Real x22;
131
+ Standard_Real y22;
132
+ Standard_Real xc2;
133
+ Standard_Real yc2;
134
+ Standard_Real radius2;
135
+ Standard_Boolean cw2;
136
+
137
+ // Fillet (result).
138
+ TopoDS_Edge fillet;
139
+ TopoDS_Edge shrinke1;
140
+ TopoDS_Edge shrinke2;
141
+ };
142
+
143
+ #endif // _ANAFILLETALGO_H_
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFiDS_ListOfStripe.hxx ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1993-11-17
2
+ // Created by: Isabelle GRIGNON
3
+ // Copyright (c) 1993-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef ChFiDS_ListOfStripe_HeaderFile
18
+ #define ChFiDS_ListOfStripe_HeaderFile
19
+
20
+ #include <ChFiDS_Stripe.hxx>
21
+ #include <NCollection_List.hxx>
22
+
23
+ typedef NCollection_List<Handle(ChFiDS_Stripe)> ChFiDS_ListOfStripe;
24
+ typedef NCollection_List<Handle(ChFiDS_Stripe)>::Iterator ChFiDS_ListIteratorOfListOfStripe;
25
+
26
+ #endif
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFiDS_Regul.hxx ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1995-03-21
2
+ // Created by: Laurent BOURESCHE
3
+ // Copyright (c) 1995-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _ChFiDS_Regul_HeaderFile
18
+ #define _ChFiDS_Regul_HeaderFile
19
+
20
+ #include <Standard.hxx>
21
+ #include <Standard_DefineAlloc.hxx>
22
+ #include <Standard_Handle.hxx>
23
+
24
+ #include <Standard_Boolean.hxx>
25
+
26
+ //! Storage of a curve and its 2 faces or surfaces of support.
27
+ class ChFiDS_Regul
28
+ {
29
+ public:
30
+ DEFINE_STANDARD_ALLOC
31
+
32
+ Standard_EXPORT ChFiDS_Regul();
33
+
34
+ Standard_EXPORT void SetCurve(const Standard_Integer IC);
35
+
36
+ Standard_EXPORT void SetS1(const Standard_Integer IS1,
37
+ const Standard_Boolean IsFace = Standard_True);
38
+
39
+ Standard_EXPORT void SetS2(const Standard_Integer IS2,
40
+ const Standard_Boolean IsFace = Standard_True);
41
+
42
+ Standard_EXPORT Standard_Boolean IsSurface1() const;
43
+
44
+ Standard_EXPORT Standard_Boolean IsSurface2() const;
45
+
46
+ Standard_EXPORT Standard_Integer Curve() const;
47
+
48
+ Standard_EXPORT Standard_Integer S1() const;
49
+
50
+ Standard_EXPORT Standard_Integer S2() const;
51
+
52
+ protected:
53
+ private:
54
+ Standard_Integer icurv;
55
+ Standard_Integer is1;
56
+ Standard_Integer is2;
57
+ };
58
+
59
+ #endif // _ChFiDS_Regul_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Contap_SurfFunction.hxx ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1993-06-03
2
+ // Created by: Jacques GOUSSARD
3
+ // Copyright (c) 1993-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef _Contap_SurfFunction_HeaderFile
18
+ #define _Contap_SurfFunction_HeaderFile
19
+
20
+ #include <Adaptor3d_Surface.hxx>
21
+ #include <Contap_TFunction.hxx>
22
+ #include <gp_Dir.hxx>
23
+ #include <gp_Pnt.hxx>
24
+ #include <gp_Dir2d.hxx>
25
+ #include <gp_Vec.hxx>
26
+ #include <math_FunctionSetWithDerivatives.hxx>
27
+ #include <math_Vector.hxx>
28
+
29
+ class math_Matrix;
30
+
31
+ //! This class describes the function on a parametric surface.
32
+ //! the form of the function is F(u,v) = 0 where u and v are
33
+ //! the parametric coordinates of a point on the surface,
34
+ //! to compute the contours of the surface.
35
+ class Contap_SurfFunction : public math_FunctionSetWithDerivatives
36
+ {
37
+ public:
38
+ DEFINE_STANDARD_ALLOC
39
+
40
+ Standard_EXPORT Contap_SurfFunction();
41
+
42
+ Standard_EXPORT void Set(const Handle(Adaptor3d_Surface)& S);
43
+
44
+ void Set(const gp_Pnt& Eye);
45
+
46
+ void Set(const gp_Dir& Dir);
47
+
48
+ void Set(const gp_Dir& Dir, const Standard_Real Angle);
49
+
50
+ void Set(const gp_Pnt& Eye, const Standard_Real Angle);
51
+
52
+ void Set(const Standard_Real Tolerance);
53
+
54
+ //! This method has to return 2.
55
+ Standard_EXPORT Standard_Integer NbVariables() const;
56
+
57
+ //! This method has to return 1.
58
+ Standard_EXPORT Standard_Integer NbEquations() const;
59
+
60
+ //! The dimension of F is 1.
61
+ Standard_EXPORT Standard_Boolean Value(const math_Vector& X, math_Vector& F);
62
+
63
+ //! The dimension of D is (1,2).
64
+ Standard_EXPORT Standard_Boolean Derivatives(const math_Vector& X, math_Matrix& D);
65
+
66
+ Standard_EXPORT Standard_Boolean Values(const math_Vector& X, math_Vector& F, math_Matrix& D);
67
+
68
+ //! Root is the value of the function at the solution.
69
+ //! It is a vector of dimension 1, i-e a real.
70
+ Standard_Real Root() const;
71
+
72
+ //! Returns the value Tol so that if Abs(Func.Root())<Tol
73
+ //! the function is considered null.
74
+ Standard_Real Tolerance() const;
75
+
76
+ //! Returns the value of the solution point on the surface.
77
+ const gp_Pnt& Point() const;
78
+
79
+ Standard_EXPORT Standard_Boolean IsTangent();
80
+
81
+ const gp_Vec& Direction3d();
82
+
83
+ const gp_Dir2d& Direction2d();
84
+
85
+ Contap_TFunction FunctionType() const;
86
+
87
+ const gp_Pnt& Eye() const;
88
+
89
+ const gp_Dir& Direction() const;
90
+
91
+ Standard_Real Angle() const;
92
+
93
+ const Handle(Adaptor3d_Surface)& Surface() const;
94
+
95
+ //! Method is entered for compatibility with IntPatch_TheSurfFunction.
96
+ const Handle(Adaptor3d_Surface)& PSurface() const { return Surface(); }
97
+
98
+ protected:
99
+ private:
100
+ Handle(Adaptor3d_Surface) mySurf;
101
+ Standard_Real myMean;
102
+ Contap_TFunction myType;
103
+ gp_Dir myDir;
104
+ gp_Pnt myEye;
105
+ Standard_Real myAng;
106
+ Standard_Real myCosAng;
107
+ Standard_Real tol;
108
+ gp_Pnt solpt;
109
+ Standard_Real valf;
110
+ Standard_Real Usol;
111
+ Standard_Real Vsol;
112
+ Standard_Real Fpu;
113
+ Standard_Real Fpv;
114
+ gp_Dir2d d2d;
115
+ gp_Vec d3d;
116
+ Standard_Boolean tangent;
117
+ Standard_Boolean computed;
118
+ Standard_Boolean derived;
119
+ };
120
+
121
+ #include <Contap_SurfFunction.lxx>
122
+
123
+ #endif // _Contap_SurfFunction_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/DEIGES_Provider.hxx ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright (c) 2022 OPEN CASCADE SAS
2
+ //
3
+ // This file is part of Open CASCADE Technology software library.
4
+ //
5
+ // This library is free software; you can redistribute it and/or modify it under
6
+ // the terms of the GNU Lesser General Public License version 2.1 as published
7
+ // by the Free Software Foundation, with special exception defined in the file
8
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9
+ // distribution for complete text of the license and disclaimer of any warranty.
10
+ //
11
+ // Alternatively, this file may be used under the terms of Open CASCADE
12
+ // commercial license or contractual agreement.
13
+
14
+ #ifndef _DEIGES_Provider_HeaderFile
15
+ #define _DEIGES_Provider_HeaderFile
16
+
17
+ #include <DEIGES_ConfigurationNode.hxx>
18
+ #include <DE_Provider.hxx>
19
+
20
+ //! The class to transfer IGES files.
21
+ //! Reads and Writes any IGES files into/from OCCT.
22
+ //! Each operation needs configuration node.
23
+ //!
24
+ //! Providers grouped by Vendor name and Format type.
25
+ //! The Vendor name is "OCC"
26
+ //! The Format type is "IGES"
27
+ //! The import process is supported.
28
+ //! The export process is supported.
29
+ class DEIGES_Provider : public DE_Provider
30
+ {
31
+ public:
32
+ DEFINE_STANDARD_RTTIEXT(DEIGES_Provider, DE_Provider)
33
+
34
+ public:
35
+ //! Default constructor
36
+ //! Configure translation process with global configuration
37
+ Standard_EXPORT DEIGES_Provider();
38
+
39
+ //! Configure translation process
40
+ //! @param[in] theNode object to copy
41
+ Standard_EXPORT DEIGES_Provider(const Handle(DE_ConfigurationNode)& theNode);
42
+
43
+ public:
44
+ //! Reads a CAD file, according internal configuration
45
+ //! @param[in] thePath path to the import CAD file
46
+ //! @param[out] theDocument document to save result
47
+ //! @param[in] theWS current work session
48
+ //! @param[in] theProgress progress indicator
49
+ //! @return true if Read operation has ended correctly
50
+ Standard_EXPORT virtual bool Read(
51
+ const TCollection_AsciiString& thePath,
52
+ const Handle(TDocStd_Document)& theDocument,
53
+ Handle(XSControl_WorkSession)& theWS,
54
+ const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
55
+
56
+ //! Writes a CAD file, according internal configuration
57
+ //! @param[in] thePath path to the export CAD file
58
+ //! @param[out] theDocument document to export
59
+ //! @param[in] theWS current work session
60
+ //! @param[in] theProgress progress indicator
61
+ //! @return true if Write operation has ended correctly
62
+ Standard_EXPORT virtual bool Write(
63
+ const TCollection_AsciiString& thePath,
64
+ const Handle(TDocStd_Document)& theDocument,
65
+ Handle(XSControl_WorkSession)& theWS,
66
+ const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
67
+
68
+ //! Reads a CAD file, according internal configuration
69
+ //! @param[in] thePath path to the import CAD file
70
+ //! @param[out] theDocument document to save result
71
+ //! @param[in] theProgress progress indicator
72
+ //! @return true if Read operation has ended correctly
73
+ Standard_EXPORT virtual bool Read(
74
+ const TCollection_AsciiString& thePath,
75
+ const Handle(TDocStd_Document)& theDocument,
76
+ const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
77
+
78
+ //! Writes a CAD file, according internal configuration
79
+ //! @param[in] thePath path to the export CAD file
80
+ //! @param[out] theDocument document to export
81
+ //! @param[in] theProgress progress indicator
82
+ //! @return true if Write operation has ended correctly
83
+ Standard_EXPORT virtual bool Write(
84
+ const TCollection_AsciiString& thePath,
85
+ const Handle(TDocStd_Document)& theDocument,
86
+ const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
87
+
88
+ //! Reads a CAD file, according internal configuration
89
+ //! @param[in] thePath path to the import CAD file
90
+ //! @param[out] theShape shape to save result
91
+ //! @param[in] theWS current work session
92
+ //! @param[in] theProgress progress indicator
93
+ //! @return true if Read operation has ended correctly
94
+ Standard_EXPORT virtual bool Read(
95
+ const TCollection_AsciiString& thePath,
96
+ TopoDS_Shape& theShape,
97
+ Handle(XSControl_WorkSession)& theWS,
98
+ const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
99
+
100
+ //! Writes a CAD file, according internal configuration
101
+ //! @param[in] thePath path to the export CAD file
102
+ //! @param[out] theShape shape to export
103
+ //! @param[in] theWS current work session
104
+ //! @param[in] theProgress progress indicator
105
+ //! @return true if Write operation has ended correctly
106
+ Standard_EXPORT virtual bool Write(
107
+ const TCollection_AsciiString& thePath,
108
+ const TopoDS_Shape& theShape,
109
+ Handle(XSControl_WorkSession)& theWS,
110
+ const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
111
+
112
+ //! Reads a CAD file, according internal configuration
113
+ //! @param[in] thePath path to the import CAD file
114
+ //! @param[out] theShape shape to save result
115
+ //! @param[in] theProgress progress indicator
116
+ //! @return true if Read operation has ended correctly
117
+ Standard_EXPORT virtual bool Read(
118
+ const TCollection_AsciiString& thePath,
119
+ TopoDS_Shape& theShape,
120
+ const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
121
+
122
+ //! Writes a CAD file, according internal configuration
123
+ //! @param[in] thePath path to the export CAD file
124
+ //! @param[out] theShape shape to export
125
+ //! @param[in] theProgress progress indicator
126
+ //! @return true if Write operation has ended correctly
127
+ Standard_EXPORT virtual bool Write(
128
+ const TCollection_AsciiString& thePath,
129
+ const TopoDS_Shape& theShape,
130
+ const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
131
+
132
+ public:
133
+ //! Gets CAD format name of associated provider
134
+ //! @return provider CAD format
135
+ Standard_EXPORT virtual TCollection_AsciiString GetFormat() const Standard_OVERRIDE;
136
+
137
+ //! Gets provider's vendor name of associated provider
138
+ //! @return provider's vendor name
139
+ Standard_EXPORT virtual TCollection_AsciiString GetVendor() const Standard_OVERRIDE;
140
+
141
+ private:
142
+ //! Personizes work session with current format.
143
+ //! Creates new temporary session if current session is null
144
+ //! @param[in] theWS current work session
145
+ void personizeWS(Handle(XSControl_WorkSession)& theWS);
146
+
147
+ //! Initialize static variables
148
+ void initStatic(const Handle(DE_ConfigurationNode)& theNode);
149
+
150
+ //! Initialize static variables
151
+ void setStatic(const DEIGES_Parameters& theParameter);
152
+
153
+ //! Reset used interface static variables
154
+ void resetStatic();
155
+
156
+ DEIGES_Parameters myOldValues;
157
+ int myOldLengthUnit = 1;
158
+ };
159
+
160
+ #endif // _DEIGES_Provider_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/DE_ShapeFixConfigurationNode.hxx ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Copyright (c) 2024 OPEN CASCADE SAS
2
+ //
3
+ // This file is part of Open CASCADE Technology software library.
4
+ //
5
+ // This library is free software; you can redistribute it and/or modify it under
6
+ // the terms of the GNU Lesser General Public License version 2.1 as published
7
+ // by the Free Software Foundation, with special exception defined in the file
8
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9
+ // distribution for complete text of the license and disclaimer of any warranty.
10
+ //
11
+ // Alternatively, this file may be used under the terms of Open CASCADE
12
+ // commercial license or contractual agreement.
13
+
14
+ #ifndef _DE_ShapeFixConfigurationNode_HeaderFile
15
+ #define _DE_ShapeFixConfigurationNode_HeaderFile
16
+
17
+ #include <DE_ConfigurationNode.hxx>
18
+ #include <DE_ShapeFixParameters.hxx>
19
+ #include <TColStd_ListOfAsciiString.hxx>
20
+
21
+ class DE_ConfigurationContext;
22
+
23
+ //! Base class to work with shape healing parameters for child classes.
24
+ class DE_ShapeFixConfigurationNode : public DE_ConfigurationNode
25
+ {
26
+ DEFINE_STANDARD_RTTIEXT(DE_ShapeFixConfigurationNode, DE_ConfigurationNode)
27
+ public:
28
+ //! Initializes all field by default
29
+ Standard_EXPORT DE_ShapeFixConfigurationNode();
30
+
31
+ //! Copies values of all fields
32
+ //! @param[in] theConfigurationNode object to copy
33
+ Standard_EXPORT DE_ShapeFixConfigurationNode(
34
+ const Handle(DE_ShapeFixConfigurationNode)& theConfigurationNode);
35
+
36
+ //! Updates values according the resource
37
+ //! @param[in] theResource input resource to use
38
+ //! @return True if Load was successful
39
+ Standard_EXPORT virtual bool Load(const Handle(DE_ConfigurationContext)& theResource)
40
+ Standard_OVERRIDE;
41
+
42
+ //! Writes configuration to the string
43
+ //! @return result resource string
44
+ Standard_EXPORT virtual TCollection_AsciiString Save() const Standard_OVERRIDE;
45
+
46
+ public:
47
+ DE_ShapeFixParameters ShapeFixParameters; //!< Shape healing parameters
48
+ };
49
+
50
+ #endif // _DE_ShapeFixConfigurationNode_HeaderFile
data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Draft_IndexedDataMapOfVertexVertexInfo.hxx ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Created on: 1994-08-31
2
+ // Created by: Jacques GOUSSARD
3
+ // Copyright (c) 1994-1999 Matra Datavision
4
+ // Copyright (c) 1999-2014 OPEN CASCADE SAS
5
+ //
6
+ // This file is part of Open CASCADE Technology software library.
7
+ //
8
+ // This library is free software; you can redistribute it and/or modify it under
9
+ // the terms of the GNU Lesser General Public License version 2.1 as published
10
+ // by the Free Software Foundation, with special exception defined in the file
11
+ // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12
+ // distribution for complete text of the license and disclaimer of any warranty.
13
+ //
14
+ // Alternatively, this file may be used under the terms of Open CASCADE
15
+ // commercial license or contractual agreement.
16
+
17
+ #ifndef Draft_IndexedDataMapOfVertexVertexInfo_HeaderFile
18
+ #define Draft_IndexedDataMapOfVertexVertexInfo_HeaderFile
19
+
20
+ #include <TopoDS_Vertex.hxx>
21
+ #include <Draft_VertexInfo.hxx>
22
+ #include <TopTools_ShapeMapHasher.hxx>
23
+ #include <NCollection_IndexedDataMap.hxx>
24
+
25
+ typedef NCollection_IndexedDataMap<TopoDS_Vertex, Draft_VertexInfo, TopTools_ShapeMapHasher>
26
+ Draft_IndexedDataMapOfVertexVertexInfo;
27
+
28
+ #endif