2 * Project Info: http://jcae.sourceforge.net
4 * This program is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU Lesser General Public License as published by the Free
6 * Software Foundation; either version 2.1 of the License, or (at your option)
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program; if not, write to the Free Software Foundation, Inc.,
16 * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
18 * (C) Copyright 2011, by EADS France
22 #include <BRepOffsetAPI_NormalProjection.hxx>
25 class BRepOffsetAPI_NormalProjection: public BRepBuilderAPI_MakeShape
30 %rename(setParams) SetParams;
31 %rename(setMaxDistance) SetMaxDistance;
32 %rename(setLimit) SetLimit;
33 %rename(compute3d) Compute3d;
35 %rename(isDone) IsDone;
36 %rename(projection) Projection;
37 %rename(couple) Couple;
38 %rename(generated) Generated;
39 %rename(ancestor) Ancestor;
40 %rename(buildWire) BuildWire;
41 BRepOffsetAPI_NormalProjection();
42 BRepOffsetAPI_NormalProjection(const TopoDS_Shape& S);
43 void Init(const TopoDS_Shape& S) ;
44 void Add(const TopoDS_Shape& ToProj) ;
45 void SetParams(const Standard_Real Tol3D,const Standard_Real Tol2D,const GeomAbs_Shape InternalContinuity,const Standard_Integer MaxDegree,const Standard_Integer MaxSeg) ;
46 void SetMaxDistance(const Standard_Real MaxDist) ;
47 void SetLimit(const Standard_Boolean FaceBoundaries = Standard_True) ;
48 void Compute3d(const Standard_Boolean With3d = Standard_True) ;
49 virtual void Build() ;
50 Standard_Boolean IsDone() const;
51 const TopoDS_Shape& Projection() const;
52 const TopoDS_Shape& Couple(const TopoDS_Edge& E) const;
53 virtual const TopTools_ListOfShape& Generated(const TopoDS_Shape& S) ;
54 const TopoDS_Shape& Ancestor(const TopoDS_Edge& E) const;
55 Standard_Boolean BuildWire(TopTools_ListOfShape& Liste) const;
61 * (C) Copyright 2006, by VTT
66 %{#include <BRepOffset_Mode.hxx>%}
68 %rename(Skin) BRepOffset_Skin;
69 %rename(Pipe) BRepOffset_Pipe;
70 %rename(RectoVerso) BRepOffset_RectoVerso;
72 enum BRepOffset_Mode {
78 %{#include <BRepOffsetAPI_MakeThickSolid.hxx>%}
79 class BRepOffsetAPI_MakeThickSolid : public BRepBuilderAPI_MakeShape
82 BRepOffsetAPI_MakeThickSolid(const TopoDS_Shape& S,const TopTools_ListOfShape& ClosingFaces,const Standard_Real Offset,const Standard_Real Tol,const BRepOffset_Mode Mode = BRepOffset_Skin,const Standard_Boolean Intersection = Standard_False,const Standard_Boolean SelfInter = Standard_False,const GeomAbs_JoinType Join = GeomAbs_Arc);