0026042: OCCT won't work with the latest Xcode
[occt.git] / src / Geom / Geom_BoundedCurve.hxx
1 // Created on: 1993-03-10
2 // Created by: JCV
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
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.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _Geom_BoundedCurve_HeaderFile
18 #define _Geom_BoundedCurve_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
22
23 #include <Geom_Curve.hxx>
24 class gp_Pnt;
25
26
27 class Geom_BoundedCurve;
28 DEFINE_STANDARD_HANDLE(Geom_BoundedCurve, Geom_Curve)
29
30 //! The abstract class BoundedCurve describes the
31 //! common behavior of bounded curves in 3D space. A
32 //! bounded curve is limited by two finite values of the
33 //! parameter, termed respectively "first parameter" and
34 //! "last parameter". The "first parameter" gives the "start
35 //! point" of the bounded curve, and the "last parameter"
36 //! gives the "end point" of the bounded curve.
37 //! The length of a bounded curve is finite.
38 //! The Geom package provides three concrete classes of bounded curves:
39 //! - two frequently used mathematical formulations of complex curves:
40 //! - Geom_BezierCurve,
41 //! - Geom_BSplineCurve, and
42 //! - Geom_TrimmedCurve to trim a curve, i.e. to only
43 //! take part of the curve limited by two values of the
44 //! parameter of the basis curve.
45 class Geom_BoundedCurve : public Geom_Curve
46 {
47
48 public:
49
50   
51   //! Returns the end point of the curve.
52   Standard_EXPORT virtual gp_Pnt EndPoint() const = 0;
53   
54   //! Returns the start point of the curve.
55   Standard_EXPORT virtual gp_Pnt StartPoint() const = 0;
56
57
58
59
60   DEFINE_STANDARD_RTTI(Geom_BoundedCurve,Geom_Curve)
61
62 protected:
63
64
65
66
67 private:
68
69
70
71
72 };
73
74
75
76
77
78
79
80 #endif // _Geom_BoundedCurve_HeaderFile