File indexing completed on 2025-01-18 10:03:22
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Contap_TheSearch_HeaderFile
0018 #define _Contap_TheSearch_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <Standard_Boolean.hxx>
0025 #include <Contap_SequenceOfSegmentOfTheSearch.hxx>
0026 #include <Contap_SequenceOfPathPointOfTheSearch.hxx>
0027 #include <Standard_Real.hxx>
0028 #include <Standard_Integer.hxx>
0029 class StdFail_NotDone;
0030 class Standard_OutOfRange;
0031 class Standard_ConstructionError;
0032 class Adaptor3d_HVertex;
0033 class Contap_HCurve2dTool;
0034 class Contap_HContTool;
0035 class Adaptor3d_TopolTool;
0036 class Contap_ArcFunction;
0037 class Contap_ThePathPointOfTheSearch;
0038 class Contap_TheSegmentOfTheSearch;
0039
0040 class Contap_TheSearch
0041 {
0042 public:
0043
0044 DEFINE_STANDARD_ALLOC
0045
0046
0047
0048 Standard_EXPORT Contap_TheSearch();
0049
0050
0051
0052
0053
0054
0055 Standard_EXPORT void Perform (Contap_ArcFunction& F, const Handle(Adaptor3d_TopolTool)& Domain, const Standard_Real TolBoundary, const Standard_Real TolTangency, const Standard_Boolean RecheckOnRegularity = Standard_False);
0056
0057
0058 Standard_Boolean IsDone() const;
0059
0060
0061
0062
0063 Standard_Boolean AllArcSolution() const;
0064
0065
0066
0067 Standard_Integer NbPoints() const;
0068
0069
0070
0071
0072
0073
0074 const Contap_ThePathPointOfTheSearch& Point (const Standard_Integer Index) const;
0075
0076
0077
0078 Standard_Integer NbSegments() const;
0079
0080
0081
0082
0083
0084
0085 const Contap_TheSegmentOfTheSearch& Segment (const Standard_Integer Index) const;
0086
0087
0088
0089
0090 protected:
0091
0092
0093
0094
0095
0096 private:
0097
0098
0099
0100 Standard_Boolean done;
0101 Standard_Boolean all;
0102 Contap_SequenceOfSegmentOfTheSearch sseg;
0103 Contap_SequenceOfPathPointOfTheSearch spnt;
0104
0105
0106 };
0107
0108 #define TheVertex Handle(Adaptor3d_HVertex)
0109 #define TheVertex_hxx <Adaptor3d_HVertex.hxx>
0110 #define TheArc Handle(Adaptor2d_Curve2d)
0111 #define TheArc_hxx <Adaptor2d_Curve2d.hxx>
0112 #define TheArcTool Contap_HCurve2dTool
0113 #define TheArcTool_hxx <Contap_HCurve2dTool.hxx>
0114 #define TheSOBTool Contap_HContTool
0115 #define TheSOBTool_hxx <Contap_HContTool.hxx>
0116 #define Handle_TheTopolTool Handle(Adaptor3d_TopolTool)
0117 #define TheTopolTool Adaptor3d_TopolTool
0118 #define TheTopolTool_hxx <Adaptor3d_TopolTool.hxx>
0119 #define TheFunction Contap_ArcFunction
0120 #define TheFunction_hxx <Contap_ArcFunction.hxx>
0121 #define IntStart_ThePathPoint Contap_ThePathPointOfTheSearch
0122 #define IntStart_ThePathPoint_hxx <Contap_ThePathPointOfTheSearch.hxx>
0123 #define IntStart_SequenceOfPathPoint Contap_SequenceOfPathPointOfTheSearch
0124 #define IntStart_SequenceOfPathPoint_hxx <Contap_SequenceOfPathPointOfTheSearch.hxx>
0125 #define IntStart_TheSegment Contap_TheSegmentOfTheSearch
0126 #define IntStart_TheSegment_hxx <Contap_TheSegmentOfTheSearch.hxx>
0127 #define IntStart_SequenceOfSegment Contap_SequenceOfSegmentOfTheSearch
0128 #define IntStart_SequenceOfSegment_hxx <Contap_SequenceOfSegmentOfTheSearch.hxx>
0129 #define IntStart_SearchOnBoundaries Contap_TheSearch
0130 #define IntStart_SearchOnBoundaries_hxx <Contap_TheSearch.hxx>
0131
0132 #include <IntStart_SearchOnBoundaries.lxx>
0133
0134 #undef TheVertex
0135 #undef TheVertex_hxx
0136 #undef TheArc
0137 #undef TheArc_hxx
0138 #undef TheArcTool
0139 #undef TheArcTool_hxx
0140 #undef TheSOBTool
0141 #undef TheSOBTool_hxx
0142 #undef Handle_TheTopolTool
0143 #undef TheTopolTool
0144 #undef TheTopolTool_hxx
0145 #undef TheFunction
0146 #undef TheFunction_hxx
0147 #undef IntStart_ThePathPoint
0148 #undef IntStart_ThePathPoint_hxx
0149 #undef IntStart_SequenceOfPathPoint
0150 #undef IntStart_SequenceOfPathPoint_hxx
0151 #undef IntStart_TheSegment
0152 #undef IntStart_TheSegment_hxx
0153 #undef IntStart_SequenceOfSegment
0154 #undef IntStart_SequenceOfSegment_hxx
0155 #undef IntStart_SearchOnBoundaries
0156 #undef IntStart_SearchOnBoundaries_hxx
0157
0158
0159
0160
0161 #endif