b311480e |
1 | // Created on: 1997-11-21 |
2 | // Created by: Philippe MANGIN |
3 | // Copyright (c) 1997-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 | |
42cf5bc1 |
17 | |
18 | #include <Geom_BSplineSurface.hxx> |
19 | #include <Geom_Curve.hxx> |
20 | #include <GeomFill_SectionLaw.hxx> |
21 | #include <gp_Pnt.hxx> |
22 | #include <Standard_DomainError.hxx> |
23 | #include <Standard_NotImplemented.hxx> |
24 | #include <Standard_OutOfRange.hxx> |
25 | #include <Standard_Type.hxx> |
7fd59977 |
26 | |
92efcf78 |
27 | IMPLEMENT_STANDARD_RTTIEXT(GeomFill_SectionLaw,MMgt_TShared) |
28 | |
b311480e |
29 | Standard_Boolean GeomFill_SectionLaw::D1(const Standard_Real,TColgp_Array1OfPnt&,TColgp_Array1OfVec&,TColStd_Array1OfReal&,TColStd_Array1OfReal& ) |
7fd59977 |
30 | { |
31 | Standard_NotImplemented::Raise("GeomFill_SectionLaw::D1"); |
32 | return 0; |
33 | } |
34 | |
35 | Standard_Boolean GeomFill_SectionLaw::D2(const Standard_Real,TColgp_Array1OfPnt& ,TColgp_Array1OfVec&,TColgp_Array1OfVec&,TColStd_Array1OfReal&,TColStd_Array1OfReal&,TColStd_Array1OfReal&) |
36 | { |
37 | Standard_NotImplemented::Raise("GeomFill_SectionLaw::D2"); |
38 | return 0; |
39 | } |
40 | |
41 | Handle(Geom_BSplineSurface) GeomFill_SectionLaw::BSplineSurface() const |
42 | { |
43 | Handle(Geom_BSplineSurface) BS; |
44 | BS.Nullify(); |
45 | return BS; |
46 | } |
47 | |
48 | void GeomFill_SectionLaw::SetTolerance(const Standard_Real ,const Standard_Real) |
49 | { |
50 | //Ne fait Rien |
51 | } |
52 | |
53 | gp_Pnt GeomFill_SectionLaw::BarycentreOfSurf() const |
54 | { |
55 | |
56 | Standard_NotImplemented::Raise("GeomFill_SectionLaw::BarycentreOfSurf"); |
57 | return gp_Pnt(0.0, 0.0, 0.0); |
58 | } |
59 | |
60 | void GeomFill_SectionLaw::GetMinimalWeight(TColStd_Array1OfReal&) const |
61 | { |
62 | Standard_NotImplemented::Raise("GeomFill_SectionLaw::GetMinimalWeight"); |
63 | } |
64 | |
65 | Standard_Boolean GeomFill_SectionLaw::IsConstant(Standard_Real& Error) const |
66 | { |
67 | Error = 0.; |
68 | return Standard_False; |
69 | } |
70 | |
71 | Handle(Geom_Curve) GeomFill_SectionLaw::ConstantSection() const |
72 | { |
73 | Handle(Geom_Curve) C; |
74 | Standard_DomainError::Raise("GeomFill_SectionLaw::ConstantSection"); |
75 | return C; |
76 | } |
77 | |
78 | Standard_Boolean GeomFill_SectionLaw::IsConicalLaw(Standard_Real& Error) const |
79 | { |
80 | Error = 0.; |
81 | return Standard_False; |
82 | } |
83 | |
84 | Handle(Geom_Curve) GeomFill_SectionLaw:: |
85 | CirclSection(const Standard_Real) const |
86 | { |
87 | Handle(Geom_Curve) C; |
88 | Standard_DomainError::Raise("GeomFill_SectionLaw::CirclSection"); |
89 | return C; |
90 | } |