0030480: Visualization - Clear of Select3D_SensitiveGroup does not update internal...
[occt.git] / src / GeomFill / GeomFill_SectionLaw.cxx
CommitLineData
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
25e59720 27IMPLEMENT_STANDARD_RTTIEXT(GeomFill_SectionLaw,Standard_Transient)
92efcf78 28
b311480e 29Standard_Boolean GeomFill_SectionLaw::D1(const Standard_Real,TColgp_Array1OfPnt&,TColgp_Array1OfVec&,TColStd_Array1OfReal&,TColStd_Array1OfReal& )
7fd59977 30{
9775fa61 31 throw Standard_NotImplemented("GeomFill_SectionLaw::D1");
7fd59977 32}
33
34 Standard_Boolean GeomFill_SectionLaw::D2(const Standard_Real,TColgp_Array1OfPnt& ,TColgp_Array1OfVec&,TColgp_Array1OfVec&,TColStd_Array1OfReal&,TColStd_Array1OfReal&,TColStd_Array1OfReal&)
35{
9775fa61 36 throw Standard_NotImplemented("GeomFill_SectionLaw::D2");
7fd59977 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
9775fa61 54 throw Standard_NotImplemented("GeomFill_SectionLaw::BarycentreOfSurf");
7fd59977 55}
56
57 void GeomFill_SectionLaw::GetMinimalWeight(TColStd_Array1OfReal&) const
58{
9775fa61 59 throw Standard_NotImplemented("GeomFill_SectionLaw::GetMinimalWeight");
7fd59977 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;
9775fa61 71 throw Standard_DomainError("GeomFill_SectionLaw::ConstantSection");
7fd59977 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;
9775fa61 84 throw Standard_DomainError("GeomFill_SectionLaw::CirclSection");
7fd59977 85}