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_TheSegmentOfTheSearch_HeaderFile
0018 #define _Contap_TheSegmentOfTheSearch_HeaderFile
0019
0020 #include <Adaptor2d_Curve2d.hxx>
0021 #include <Contap_ThePathPointOfTheSearch.hxx>
0022
0023 class Standard_DomainError;
0024 class Adaptor3d_HVertex;
0025 class Contap_ThePathPointOfTheSearch;
0026
0027 class Contap_TheSegmentOfTheSearch
0028 {
0029 public:
0030
0031 DEFINE_STANDARD_ALLOC
0032
0033
0034
0035 Standard_EXPORT Contap_TheSegmentOfTheSearch();
0036
0037
0038 void SetValue (const Handle(Adaptor2d_Curve2d)& A);
0039
0040
0041
0042 Standard_EXPORT void SetLimitPoint (const Contap_ThePathPointOfTheSearch& V, const Standard_Boolean First);
0043
0044
0045
0046 const Handle(Adaptor2d_Curve2d)& Curve() const;
0047
0048
0049
0050 Standard_Boolean HasFirstPoint() const;
0051
0052
0053 const Contap_ThePathPointOfTheSearch& FirstPoint() const;
0054
0055
0056
0057 Standard_Boolean HasLastPoint() const;
0058
0059
0060 const Contap_ThePathPointOfTheSearch& LastPoint() const;
0061
0062
0063
0064
0065 protected:
0066
0067
0068
0069
0070
0071 private:
0072
0073
0074
0075 Handle(Adaptor2d_Curve2d) arc;
0076 Standard_Boolean hasfp;
0077 Contap_ThePathPointOfTheSearch thefp;
0078 Standard_Boolean haslp;
0079 Contap_ThePathPointOfTheSearch thelp;
0080
0081
0082 };
0083
0084 #define TheVertex Handle(Adaptor3d_HVertex)
0085 #define TheVertex_hxx <Adaptor3d_HVertex.hxx>
0086 #define TheArc Handle(Adaptor2d_Curve2d)
0087 #define TheArc_hxx <Adaptor2d_Curve2d.hxx>
0088 #define ThePathPoint Contap_ThePathPointOfTheSearch
0089 #define ThePathPoint_hxx <Contap_ThePathPointOfTheSearch.hxx>
0090 #define IntStart_Segment Contap_TheSegmentOfTheSearch
0091 #define IntStart_Segment_hxx <Contap_TheSegmentOfTheSearch.hxx>
0092
0093 #include <IntStart_Segment.lxx>
0094
0095 #undef TheVertex
0096 #undef TheVertex_hxx
0097 #undef TheArc
0098 #undef TheArc_hxx
0099 #undef ThePathPoint
0100 #undef ThePathPoint_hxx
0101 #undef IntStart_Segment
0102 #undef IntStart_Segment_hxx
0103
0104
0105
0106
0107 #endif