0031939: Coding - correction of spelling errors in comments
[occt.git] / src / GeomFill / GeomFill_SectionLaw.cxx
1 // Created on: 1997-11-21
2 // Created by: Philippe MANGIN
3 // Copyright (c) 1997-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
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>
26
27 IMPLEMENT_STANDARD_RTTIEXT(GeomFill_SectionLaw,Standard_Transient)
28
29 Standard_Boolean GeomFill_SectionLaw::D1(const Standard_Real,TColgp_Array1OfPnt&,TColgp_Array1OfVec&,TColStd_Array1OfReal&,TColStd_Array1OfReal& ) 
30 {
31   throw Standard_NotImplemented("GeomFill_SectionLaw::D1");
32 }
33
34  Standard_Boolean GeomFill_SectionLaw::D2(const Standard_Real,TColgp_Array1OfPnt& ,TColgp_Array1OfVec&,TColgp_Array1OfVec&,TColStd_Array1OfReal&,TColStd_Array1OfReal&,TColStd_Array1OfReal&) 
35 {
36   throw Standard_NotImplemented("GeomFill_SectionLaw::D2");
37 }
38
39  Handle(Geom_BSplineSurface) GeomFill_SectionLaw::BSplineSurface() const
40 {
41  Handle(Geom_BSplineSurface) BS;
42  BS.Nullify();
43  return BS;
44 }
45
46  void GeomFill_SectionLaw::SetTolerance(const Standard_Real ,const Standard_Real) 
47 {
48   //Ne fait Rien
49 }
50
51  gp_Pnt GeomFill_SectionLaw::BarycentreOfSurf() const
52 {
53
54   throw Standard_NotImplemented("GeomFill_SectionLaw::BarycentreOfSurf");
55 }
56
57  void GeomFill_SectionLaw::GetMinimalWeight(TColStd_Array1OfReal&) const
58 {
59   throw Standard_NotImplemented("GeomFill_SectionLaw::GetMinimalWeight");
60 }
61
62  Standard_Boolean GeomFill_SectionLaw::IsConstant(Standard_Real& Error) const
63 {
64   Error = 0.;
65   return Standard_False;
66 }
67
68  Handle(Geom_Curve)  GeomFill_SectionLaw::ConstantSection() const
69 {
70  Handle(Geom_Curve) C;
71  throw Standard_DomainError("GeomFill_SectionLaw::ConstantSection");
72 }
73
74  Standard_Boolean GeomFill_SectionLaw::IsConicalLaw(Standard_Real& Error) const
75 {
76   Error = 0.;
77   return Standard_False;
78 }
79
80  Handle(Geom_Curve) GeomFill_SectionLaw::
81  CirclSection(const Standard_Real) const
82 {
83  Handle(Geom_Curve) C;
84  throw Standard_DomainError("GeomFill_SectionLaw::CirclSection");
85 }