File indexing completed on 2025-01-18 10:03:11
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepFill_CompatibleWires_HeaderFile
0018 #define _BRepFill_CompatibleWires_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <BRepFill_ThruSectionErrorStatus.hxx>
0024 #include <TopTools_SequenceOfShape.hxx>
0025 #include <TopTools_DataMapOfShapeListOfShape.hxx>
0026 #include <TopTools_ListOfShape.hxx>
0027 class TopoDS_Edge;
0028
0029
0030
0031
0032
0033 class BRepFill_CompatibleWires
0034 {
0035 public:
0036
0037 DEFINE_STANDARD_ALLOC
0038
0039
0040 Standard_EXPORT BRepFill_CompatibleWires();
0041
0042 Standard_EXPORT BRepFill_CompatibleWires(const TopTools_SequenceOfShape& Sections);
0043
0044 Standard_EXPORT void Init (const TopTools_SequenceOfShape& Sections);
0045
0046 Standard_EXPORT void SetPercent (const Standard_Real percent = 0.01);
0047
0048
0049
0050 Standard_EXPORT void Perform (const Standard_Boolean WithRotation = Standard_True);
0051
0052 Standard_EXPORT Standard_Boolean IsDone() const;
0053
0054 BRepFill_ThruSectionErrorStatus GetStatus() const
0055 {
0056 return myStatus;
0057 }
0058
0059
0060 Standard_EXPORT const TopTools_SequenceOfShape& Shape() const;
0061
0062
0063
0064 Standard_EXPORT const TopTools_ListOfShape& GeneratedShapes (const TopoDS_Edge& SubSection) const;
0065
0066 Standard_EXPORT const TopTools_DataMapOfShapeListOfShape& Generated() const;
0067
0068 Standard_EXPORT Standard_Boolean IsDegeneratedFirstSection() const;
0069
0070 Standard_EXPORT Standard_Boolean IsDegeneratedLastSection() const;
0071
0072
0073
0074 protected:
0075
0076
0077
0078
0079
0080 private:
0081
0082
0083
0084
0085
0086 Standard_EXPORT void SameNumberByPolarMethod (const Standard_Boolean WithRotation = Standard_True);
0087
0088
0089
0090
0091 Standard_EXPORT void SameNumberByACR (const Standard_Boolean report);
0092
0093
0094
0095
0096
0097 Standard_EXPORT void ComputeOrigin (const Standard_Boolean polar);
0098
0099
0100
0101
0102 Standard_EXPORT void SearchOrigin();
0103
0104
0105 TopTools_SequenceOfShape myInit;
0106 TopTools_SequenceOfShape myWork;
0107 Standard_Real myPercent;
0108 Standard_Boolean myDegen1;
0109 Standard_Boolean myDegen2;
0110 BRepFill_ThruSectionErrorStatus myStatus;
0111 TopTools_DataMapOfShapeListOfShape myMap;
0112
0113
0114 };
0115
0116
0117
0118
0119
0120
0121
0122 #endif