edb572e5830c0668971f9f488d2f625605736b39
[occt.git] / src / BRepBuilderAPI / BRepBuilderAPI.cxx
1 // Created on: 1999-10-13
2 // Created by: Atelier CAS2000
3 // Copyright (c) 1999-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 #include <BRepBuilderAPI.ixx>
18
19 #include <BRepLib.hxx>
20 #include <BRep_Builder.hxx>
21 #include <BRep_Tool.hxx>
22 #include <BRepTools.hxx>
23 #include <Precision.hxx>
24 #include <TopExp_Explorer.hxx>
25 #include <TopTools_ListIteratorOfListOfShape.hxx>
26 #include <TopTools_MapOfShape.hxx>
27 #include <TopoDS.hxx>
28 #include <TopoDS_Face.hxx>
29 #include <TopoDS_Compound.hxx>
30 #include <gp.hxx>
31
32
33 //=======================================================================
34 //function : Plane
35 //purpose  : 
36 //=======================================================================
37
38 void  BRepBuilderAPI::Plane(const Handle(Geom_Plane)& P)
39 {
40   BRepLib::Plane(P);
41 }
42
43
44 //=======================================================================
45 //function : Plane
46 //purpose  : 
47 //=======================================================================
48
49 const Handle(Geom_Plane)&  BRepBuilderAPI::Plane()
50 {
51   return BRepLib::Plane();
52 }
53
54
55 //=======================================================================
56 //function : Precision
57 //purpose  : 
58 //=======================================================================
59
60 void  BRepBuilderAPI::Precision(const Standard_Real P)
61 {
62   BRepLib::Precision(P);
63 }
64
65
66 //=======================================================================
67 //function : Precision
68 //purpose  : 
69 //=======================================================================
70
71 Standard_Real  BRepBuilderAPI::Precision()
72 {
73   return BRepLib::Precision();
74 }