1 // Created on: 1993-02-05
2 // Created by: Jacques GOUSSARD
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _Contap_TheSegmentOfTheSearch_HeaderFile
18 #define _Contap_TheSegmentOfTheSearch_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
24 #include <Standard_Boolean.hxx>
25 #include <Contap_ThePathPointOfTheSearch.hxx>
26 class Adaptor2d_HCurve2d;
27 class Standard_DomainError;
28 class Adaptor3d_HVertex;
29 class Contap_ThePathPointOfTheSearch;
33 class Contap_TheSegmentOfTheSearch
40 Standard_EXPORT Contap_TheSegmentOfTheSearch();
42 void SetValue (const Handle(Adaptor2d_HCurve2d)& A);
44 Standard_EXPORT void SetLimitPoint (const Contap_ThePathPointOfTheSearch& V, const Standard_Boolean First);
46 const Handle(Adaptor2d_HCurve2d)& Curve() const;
48 Standard_Boolean HasFirstPoint() const;
50 const Contap_ThePathPointOfTheSearch& FirstPoint() const;
52 Standard_Boolean HasLastPoint() const;
54 const Contap_ThePathPointOfTheSearch& LastPoint() const;
69 Handle(Adaptor2d_HCurve2d) arc;
70 Standard_Boolean hasfp;
71 Contap_ThePathPointOfTheSearch thefp;
72 Standard_Boolean haslp;
73 Contap_ThePathPointOfTheSearch thelp;
78 #define TheVertex Handle(Adaptor3d_HVertex)
79 #define TheVertex_hxx <Adaptor3d_HVertex.hxx>
80 #define TheArc Handle(Adaptor2d_HCurve2d)
81 #define TheArc_hxx <Adaptor2d_HCurve2d.hxx>
82 #define ThePathPoint Contap_ThePathPointOfTheSearch
83 #define ThePathPoint_hxx <Contap_ThePathPointOfTheSearch.hxx>
84 #define IntStart_Segment Contap_TheSegmentOfTheSearch
85 #define IntStart_Segment_hxx <Contap_TheSegmentOfTheSearch.hxx>
87 #include <IntStart_Segment.lxx>
94 #undef ThePathPoint_hxx
95 #undef IntStart_Segment
96 #undef IntStart_Segment_hxx
101 #endif // _Contap_TheSegmentOfTheSearch_HeaderFile