0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
[occt.git] / src / GeomFill / GeomFill_LocationLaw.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 <Adaptor3d_HCurve.hxx>
19#include <GeomFill_LocationLaw.hxx>
20#include <gp_Mat.hxx>
21#include <gp_Pnt.hxx>
22#include <gp_Vec.hxx>
23#include <Standard_NotImplemented.hxx>
24#include <Standard_OutOfRange.hxx>
25#include <Standard_Type.hxx>
7fd59977 26
92efcf78 27IMPLEMENT_STANDARD_RTTIEXT(GeomFill_LocationLaw,MMgt_TShared)
28
b311480e 29Standard_Boolean GeomFill_LocationLaw::D1(const Standard_Real, gp_Mat&, gp_Vec&,gp_Mat&, gp_Vec&,TColgp_Array1OfPnt2d&,TColgp_Array1OfVec2d&)
7fd59977 30{
31 Standard_NotImplemented::Raise("GeomFill_LocationLaw::D1");
32 return 0;
33}
34
35 Standard_Boolean GeomFill_LocationLaw::D2(const Standard_Real,
36 gp_Mat&,gp_Vec&,
37 gp_Mat&, gp_Vec&,
38 gp_Mat&, gp_Vec&,
39 TColgp_Array1OfPnt2d&,TColgp_Array1OfVec2d&,TColgp_Array1OfVec2d&)
40{
41 Standard_NotImplemented::Raise("GeomFill_LocationLaw::D2");
42 return 0;
43}
44
45 Standard_Integer GeomFill_LocationLaw::Nb2dCurves() const
46{
47 Standard_Integer N = TraceNumber();
48 if (HasFirstRestriction()) N++;
49 if (HasLastRestriction()) N++;
50
51 return N;
52}
53
54 Standard_Boolean GeomFill_LocationLaw::HasFirstRestriction() const
55{
56 return Standard_False;
57}
58
59 Standard_Boolean GeomFill_LocationLaw::HasLastRestriction() const
60{
61 return Standard_False;
62}
63
64 Standard_Integer GeomFill_LocationLaw::TraceNumber() const
65{
66 return 0;
67}
68
69//==================================================================
70//Function : ErrorStatus
71//Purpose :
72//==================================================================
73 GeomFill_PipeError GeomFill_LocationLaw::ErrorStatus() const
74{
75 return GeomFill_PipeOk;
76}
77
78// void GeomFill_LocationLaw::Resolution(const Standard_Integer Index,const Standard_Real Tol,Standard_Real& TolU,Standard_Real& TolV) const
79 void GeomFill_LocationLaw::Resolution(const Standard_Integer ,const Standard_Real ,Standard_Real& ,Standard_Real& ) const
80{
81 Standard_NotImplemented::Raise("GeomFill_LocationLaw::Resolution");
82}
83
84 void GeomFill_LocationLaw::SetTolerance(const Standard_Real,
85 const Standard_Real )
86{
87 // Ne fait rien !!
88}
89 Standard_Boolean GeomFill_LocationLaw::IsTranslation(Standard_Real&) const
90{
91 return Standard_False;
92}
93
94 Standard_Boolean GeomFill_LocationLaw::IsRotation(Standard_Real&) const
95{
96 return Standard_False;
97}
98 void GeomFill_LocationLaw::Rotation(gp_Pnt&) const
99{
100 Standard_NotImplemented::Raise("GeomFill_SectionLaw::Rotation");
101}