File indexing completed on 2026-10-02 09:11:53
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_TheSegmentOfTheSearch.hxx>
0026 #include <NCollection_Sequence.hxx>
0027 #include <Contap_ThePathPointOfTheSearch.hxx>
0028 #include <Standard_Real.hxx>
0029 #include <Standard_Integer.hxx>
0030 class StdFail_NotDone;
0031 class Standard_OutOfRange;
0032 class Standard_ConstructionError;
0033 class Adaptor3d_HVertex;
0034 class Contap_HCurve2dTool;
0035 class Contap_HContTool;
0036 class Adaptor3d_TopolTool;
0037 class Contap_ArcFunction;
0038 class Contap_ThePathPointOfTheSearch;
0039 class Contap_TheSegmentOfTheSearch;
0040
0041 class Contap_TheSearch
0042 {
0043 public:
0044 DEFINE_STANDARD_ALLOC
0045
0046
0047 Standard_EXPORT Contap_TheSearch();
0048
0049
0050
0051
0052
0053
0054 Standard_EXPORT void Perform(Contap_ArcFunction& F,
0055 const occ::handle<Adaptor3d_TopolTool>& Domain,
0056 const double TolBoundary,
0057 const double TolTangency,
0058 const bool RecheckOnRegularity = false);
0059
0060
0061 bool IsDone() const;
0062
0063
0064
0065
0066 bool AllArcSolution() const;
0067
0068
0069
0070 int NbPoints() const;
0071
0072
0073
0074
0075
0076
0077 const Contap_ThePathPointOfTheSearch& Point(const int Index) const;
0078
0079
0080
0081 int NbSegments() const;
0082
0083
0084
0085
0086
0087
0088 const Contap_TheSegmentOfTheSearch& Segment(const int Index) const;
0089
0090 private:
0091 bool done;
0092 bool all;
0093 NCollection_Sequence<Contap_TheSegmentOfTheSearch> sseg;
0094 NCollection_Sequence<Contap_ThePathPointOfTheSearch> spnt;
0095 };
0096
0097 #define TheVertex occ::handle<Adaptor3d_HVertex>
0098 #define TheVertex_hxx <Adaptor3d_HVertex.hxx>
0099 #define TheArc occ::handle<Adaptor2d_Curve2d>
0100 #define TheArc_hxx <Adaptor2d_Curve2d.hxx>
0101 #define TheArcTool Contap_HCurve2dTool
0102 #define TheArcTool_hxx <Contap_HCurve2dTool.hxx>
0103 #define TheSOBTool Contap_HContTool
0104 #define TheSOBTool_hxx <Contap_HContTool.hxx>
0105 #define Handle_TheTopolTool occ::handle<Adaptor3d_TopolTool>
0106 #define TheTopolTool Adaptor3d_TopolTool
0107 #define TheTopolTool_hxx <Adaptor3d_TopolTool.hxx>
0108 #define TheFunction Contap_ArcFunction
0109 #define TheFunction_hxx <Contap_ArcFunction.hxx>
0110 #define IntStart_ThePathPoint Contap_ThePathPointOfTheSearch
0111 #define IntStart_ThePathPoint_hxx <Contap_ThePathPointOfTheSearch.hxx>
0112 #define IntStart_SequenceOfPathPoint NCollection_Sequence<Contap_ThePathPointOfTheSearch>
0113 #define IntStart_SequenceOfPathPoint_hxx <NCollection_Sequence<Contap_ThePathPointOfTheSearch>.hxx>
0114 #define IntStart_TheSegment Contap_TheSegmentOfTheSearch
0115 #define IntStart_TheSegment_hxx <Contap_TheSegmentOfTheSearch.hxx>
0116 #define IntStart_SequenceOfSegment NCollection_Sequence<Contap_TheSegmentOfTheSearch>
0117 #define IntStart_SequenceOfSegment_hxx <NCollection_Sequence<Contap_TheSegmentOfTheSearch>.hxx>
0118 #define IntStart_SearchOnBoundaries Contap_TheSearch
0119 #define IntStart_SearchOnBoundaries_hxx <Contap_TheSearch.hxx>
0120
0121 #include <IntStart_SearchOnBoundaries.lxx>
0122
0123 #undef TheVertex
0124 #undef TheVertex_hxx
0125 #undef TheArc
0126 #undef TheArc_hxx
0127 #undef TheArcTool
0128 #undef TheArcTool_hxx
0129 #undef TheSOBTool
0130 #undef TheSOBTool_hxx
0131 #undef Handle_TheTopolTool
0132 #undef TheTopolTool
0133 #undef TheTopolTool_hxx
0134 #undef TheFunction
0135 #undef TheFunction_hxx
0136 #undef IntStart_ThePathPoint
0137 #undef IntStart_ThePathPoint_hxx
0138 #undef IntStart_SequenceOfPathPoint
0139 #undef IntStart_SequenceOfPathPoint_hxx
0140 #undef IntStart_TheSegment
0141 #undef IntStart_TheSegment_hxx
0142 #undef IntStart_SequenceOfSegment
0143 #undef IntStart_SequenceOfSegment_hxx
0144 #undef IntStart_SearchOnBoundaries
0145 #undef IntStart_SearchOnBoundaries_hxx
0146
0147 #endif