42cf5bc1 |
1 | // Created on: 1993-03-10 |
2 | // Created by: Philippe DAUTRY |
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_BoundedSurface_HeaderFile |
18 | #define _Geom_BoundedSurface_HeaderFile |
19 | |
20 | #include <Standard.hxx> |
21 | #include <Standard_Type.hxx> |
22 | |
23 | #include <Geom_Surface.hxx> |
24 | |
25 | |
26 | class Geom_BoundedSurface; |
27 | DEFINE_STANDARD_HANDLE(Geom_BoundedSurface, Geom_Surface) |
28 | |
29 | //! The root class for bounded surfaces in 3D space. A |
30 | //! bounded surface is defined by a rectangle in its 2D parametric space, i.e. |
31 | //! - its u parameter, which ranges between two finite |
32 | //! values u0 and u1, referred to as "First u |
33 | //! parameter" and "Last u parameter" respectively, and |
34 | //! - its v parameter, which ranges between two finite |
35 | //! values v0 and v1, referred to as "First v |
36 | //! parameter" and the "Last v parameter" respectively. |
37 | //! The surface is limited by four curves which are the |
38 | //! boundaries of the surface: |
39 | //! - its u0 and u1 isoparametric curves in the u parametric direction, and |
40 | //! - its v0 and v1 isoparametric curves in the v parametric direction. |
41 | //! A bounded surface is finite. |
42 | //! The common behavior of all bounded surfaces is |
43 | //! described by the Geom_Surface class. |
44 | //! The Geom package provides three concrete |
45 | //! implementations of bounded surfaces: |
46 | //! - Geom_BezierSurface, |
47 | //! - Geom_BSplineSurface, and |
48 | //! - Geom_RectangularTrimmedSurface. |
49 | //! The first two of these implement well known |
50 | //! mathematical definitions of complex surfaces, the third |
51 | //! trims a surface using four isoparametric curves, i.e. it |
52 | //! limits the variation of its parameters to a rectangle in |
53 | //! 2D parametric space. |
54 | class Geom_BoundedSurface : public Geom_Surface |
55 | { |
56 | |
57 | public: |
58 | |
59 | |
60 | |
61 | |
62 | |
92efcf78 |
63 | DEFINE_STANDARD_RTTIEXT(Geom_BoundedSurface,Geom_Surface) |
42cf5bc1 |
64 | |
65 | protected: |
66 | |
67 | |
68 | |
69 | |
70 | private: |
71 | |
72 | |
73 | |
74 | |
75 | }; |
76 | |
77 | |
78 | |
79 | |
80 | |
81 | |
82 | |
83 | #endif // _Geom_BoundedSurface_HeaderFile |