1 // Created on: 1991-04-09
2 // Created by: Remi LEQUETTE
3 // Copyright (c) 1991-1999 Matra Datavision
4 // Copyright (c) 1999-2012 OPEN CASCADE SAS
6 // The content of this file is subject to the Open CASCADE Technology Public
7 // License Version 6.5 (the "License"). You may not use the content of this file
8 // except in compliance with the License. Please obtain a copy of the License
9 // at http://www.opencascade.org and read it completely before using this file.
11 // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 // The Original Code and all software distributed under the License is
15 // distributed on an "AS IS" basis, without warranty of any kind, and the
16 // Initial Developer hereby disclaims all such warranties, including without
17 // limitation, any warranties of merchantability, fitness for a particular
18 // purpose or non-infringement. Please see the License for the specific terms
19 // and conditions governing the rights and limitations under the License.
22 #include <TopoDS_TWire.hxx>
23 #include <TopoDS_TShell.hxx>
24 #include <TopoDS_TSolid.hxx>
25 #include <TopoDS_TCompSolid.hxx>
26 #include <TopoDS_TCompound.hxx>
27 #include <TopoDS_Wire.hxx>
28 #include <TopoDS_Shell.hxx>
29 #include <TopoDS_Solid.hxx>
30 #include <TopoDS_CompSolid.hxx>
31 #include <TopoDS_Compound.hxx>
34 //=======================================================================
36 //purpose : Make an empty wire
37 //=======================================================================
39 inline void TopoDS_Builder::MakeWire (TopoDS_Wire& W) const
41 Handle(TopoDS_TWire) TW = new TopoDS_TWire();
46 //=======================================================================
47 //function : MakeShell
48 //purpose : Make an empty Shell
49 //=======================================================================
51 inline void TopoDS_Builder::MakeShell (TopoDS_Shell& S) const
53 Handle(TopoDS_TShell) TS = new TopoDS_TShell();
57 //=======================================================================
58 //function : MakeSolid
59 //purpose : Make an empty Solid
60 //=======================================================================
62 inline void TopoDS_Builder::MakeSolid (TopoDS_Solid& S) const
64 Handle(TopoDS_TSolid) TS = new TopoDS_TSolid();
68 //=======================================================================
69 //function : MakeCompSolid
70 //purpose : Make an empty CompSolid
71 //=======================================================================
73 inline void TopoDS_Builder::MakeCompSolid (TopoDS_CompSolid& C) const
75 Handle(TopoDS_TCompSolid) TC = new TopoDS_TCompSolid();
80 //=======================================================================
81 //function : MakeCompound
82 //purpose : Make an empty Compound
83 //=======================================================================
85 inline void TopoDS_Builder::MakeCompound (TopoDS_Compound& C) const
87 Handle(TopoDS_TCompound) TC = new TopoDS_TCompound();