b311480e |
1 | // Created on: 1996-06-07 |
2 | // Created by: Philippe MANGIN |
3 | // Copyright (c) 1996-1999 Matra Datavision |
973c2be1 |
4 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | // |
973c2be1 |
6 | // This file is part of Open CASCADE Technology software library. |
b311480e |
7 | // |
d5f74e42 |
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 |
973c2be1 |
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. |
b311480e |
13 | // |
973c2be1 |
14 | // Alternatively, this file may be used under the terms of Open CASCADE |
15 | // commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | #include <TColStd_HArray1OfReal.hxx> |
18 | #include <TColgp_HArray2OfPnt.hxx> |
19 | |
20 | // ================================================================================ |
21 | inline Standard_Integer |
22 | GeomConvert_CompBezierSurfacesToBSplineSurface::NbUKnots() const |
23 | // ================================================================================ |
24 | { |
25 | return myUKnots->Length(); |
26 | } |
27 | |
28 | // ================================================================================ |
29 | inline Standard_Integer |
30 | GeomConvert_CompBezierSurfacesToBSplineSurface::NbUPoles() const |
31 | // ================================================================================ |
32 | { |
33 | return myPoles->ColLength(); |
34 | } |
35 | |
36 | // ================================================================================ |
37 | inline Standard_Integer |
38 | GeomConvert_CompBezierSurfacesToBSplineSurface::NbVKnots() const |
39 | // ================================================================================ |
40 | { |
41 | return myVKnots->Length(); |
42 | } |
43 | |
44 | // ================================================================================ |
45 | inline Standard_Integer |
46 | GeomConvert_CompBezierSurfacesToBSplineSurface::NbVPoles() const |
47 | // ================================================================================ |
48 | { |
49 | return myPoles->RowLength(); |
50 | } |
51 | |
52 | // ================================================================================ |
53 | inline const Handle(TColgp_HArray2OfPnt)& |
54 | GeomConvert_CompBezierSurfacesToBSplineSurface::Poles() const |
55 | // ================================================================================ |
56 | { |
57 | return myPoles; |
58 | } |
59 | |
60 | // ================================================================================ |
61 | inline const Handle(TColStd_HArray1OfReal)& |
62 | GeomConvert_CompBezierSurfacesToBSplineSurface::UKnots() const |
63 | // ================================================================================ |
64 | { |
65 | return myUKnots; |
66 | } |
67 | |
68 | // ================================================================================ |
69 | inline Standard_Integer |
70 | GeomConvert_CompBezierSurfacesToBSplineSurface::UDegree() const |
71 | // ================================================================================ |
72 | { |
73 | return myUDegree; |
74 | } |
75 | |
76 | // ================================================================================ |
77 | inline const Handle(TColStd_HArray1OfReal)& |
78 | GeomConvert_CompBezierSurfacesToBSplineSurface::VKnots() const |
79 | // ================================================================================ |
80 | { |
81 | return myVKnots; |
82 | } |
83 | |
84 | // ================================================================================ |
85 | inline Standard_Integer |
86 | GeomConvert_CompBezierSurfacesToBSplineSurface::VDegree() const |
87 | // ================================================================================ |
88 | { |
89 | return myVDegree; |
90 | } |
91 | |
92 | // ================================================================================ |
93 | inline const Handle(TColStd_HArray1OfInteger)& |
94 | GeomConvert_CompBezierSurfacesToBSplineSurface::UMultiplicities() const |
95 | // ================================================================================ |
96 | { |
97 | return myUMults; |
98 | } |
99 | |
100 | // ================================================================================ |
101 | inline const Handle(TColStd_HArray1OfInteger)& |
102 | GeomConvert_CompBezierSurfacesToBSplineSurface::VMultiplicities() const |
103 | // ================================================================================ |
104 | { |
105 | return myVMults; |
106 | } |
107 | |