0024428: Implementation of LGPL license
[occt.git] / src / BRepFill / BRepFill_MultiLineTool.cxx
CommitLineData
b311480e 1// Created on: 1994-11-14
2// Created by: Bruno DUMORTIER
3// Copyright (c) 1994-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//
973c2be1 8// This library is free software; you can redistribute it and / or modify it
9// under the terms of the GNU Lesser General Public 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.
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 <BRepFill_MultiLineTool.ixx>
18
19
20#include <gp_Pnt.hxx>
21#include <gp_Pnt2d.hxx>
22
23//=======================================================================
24//function : FirstParameter
25//purpose :
26//=======================================================================
27
28Standard_Real BRepFill_MultiLineTool::FirstParameter
29(const BRepFill_MultiLine& ML)
30{
31 return ML.FirstParameter();
32}
33
34
35//=======================================================================
36//function : LastParameter
37//purpose :
38//=======================================================================
39
40Standard_Real BRepFill_MultiLineTool::LastParameter
41(const BRepFill_MultiLine& ML)
42{
43 return ML.LastParameter();
44}
45
46
47//=======================================================================
48//function : NbP2d
49//purpose :
50//=======================================================================
51
52Standard_Integer BRepFill_MultiLineTool::NbP2d
53(const BRepFill_MultiLine&)
54{
55 return 2;
56}
57
58
59//=======================================================================
60//function : NbP3d
61//purpose :
62//=======================================================================
63
64Standard_Integer BRepFill_MultiLineTool::NbP3d(const BRepFill_MultiLine&)
65{
66 return 1;
67}
68
69
70//=======================================================================
71//function : Value
72//purpose :
73//=======================================================================
74
75void BRepFill_MultiLineTool::Value(const BRepFill_MultiLine& ,
76 const Standard_Real,
77 TColgp_Array1OfPnt&)
78{
79}
80
81
82//=======================================================================
83//function : Value
84//purpose :
85//=======================================================================
86
87void BRepFill_MultiLineTool::Value(const BRepFill_MultiLine&,
88 const Standard_Real,
89 TColgp_Array1OfPnt2d&)
90{
91}
92
93
94//=======================================================================
95//function : Value
96//purpose :
97//=======================================================================
98
99void BRepFill_MultiLineTool::Value(const BRepFill_MultiLine& ML,
100 const Standard_Real U,
101 TColgp_Array1OfPnt& tabPt,
102 TColgp_Array1OfPnt2d& tabPt2d)
103{
104 tabPt(1) = ML.Value(U);
105 tabPt2d(1) = ML.ValueOnF1(U);
106 tabPt2d(2) = ML.ValueOnF2(U);
107}
108
109
110//=======================================================================
111//function : D1
112//purpose :
113//=======================================================================
114
115Standard_Boolean BRepFill_MultiLineTool::D1(const BRepFill_MultiLine&,
116 const Standard_Real,
117 TColgp_Array1OfVec&)
118{
119 return Standard_False;
120}
121
122
123//=======================================================================
124//function : D1
125//purpose :
126//=======================================================================
127
128Standard_Boolean BRepFill_MultiLineTool::D1(const BRepFill_MultiLine&,
129 const Standard_Real,
130 TColgp_Array1OfVec2d&)
131{
132 return Standard_False;
133}
134
135
136//=======================================================================
137//function : D1
138//purpose :
139//=======================================================================
140
141Standard_Boolean BRepFill_MultiLineTool::D1(const BRepFill_MultiLine&,
142 const Standard_Real,
143 TColgp_Array1OfVec&,
144 TColgp_Array1OfVec2d&)
145{
146 return Standard_False;
147}