1 // Created on: 1995-11-03
2 // Created by: Laurent BOURESCHE
3 // Copyright (c) 1995-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
18 #include <GeomFill_Boundary.hxx>
21 #include <Standard_Type.hxx>
23 IMPLEMENT_STANDARD_RTTIEXT(GeomFill_Boundary,Standard_Transient)
25 //=======================================================================
26 //function : GeomFill_Boundary
28 //=======================================================================
29 GeomFill_Boundary::GeomFill_Boundary(const Standard_Real Tol3d,
30 const Standard_Real Tolang):
31 myT3d(Tol3d), myTang(Tolang)
36 //=======================================================================
37 //function : HasNormals
39 //=======================================================================
41 Standard_Boolean GeomFill_Boundary::HasNormals() const
43 return Standard_False;
47 //=======================================================================
50 //=======================================================================
52 gp_Vec GeomFill_Boundary::Norm(const Standard_Real ) const
54 throw Standard_Failure("GeomFill_Boundary::Norm : Undefined normals");
58 //=======================================================================
61 //=======================================================================
63 void GeomFill_Boundary::D1Norm(const Standard_Real , gp_Vec& , gp_Vec& ) const
65 throw Standard_Failure("GeomFill_Boundary::Norm : Undefined normals");
69 //=======================================================================
72 //=======================================================================
74 void GeomFill_Boundary::Points(gp_Pnt& PFirst, gp_Pnt& PLast) const
83 //=======================================================================
86 //=======================================================================
88 Standard_Real GeomFill_Boundary::Tol3d() const
94 //=======================================================================
97 //=======================================================================
99 void GeomFill_Boundary::Tol3d(const Standard_Real Tol)
105 //=======================================================================
108 //=======================================================================
110 Standard_Real GeomFill_Boundary::Tolang() const
116 //=======================================================================
119 //=======================================================================
121 void GeomFill_Boundary::Tolang(const Standard_Real Tol)