1 // Created on: 2003-10-21
2 // Created by: Mikhail KLOKOV
3 // Copyright (c) 2003-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _BRepFill_TrimShellCorner_HeaderFile
17 #define _BRepFill_TrimShellCorner_HeaderFile
19 #include <Standard.hxx>
20 #include <Standard_DefineAlloc.hxx>
21 #include <Standard_Handle.hxx>
24 #include <TopoDS_Shape.hxx>
25 #include <TopoDS_Wire.hxx>
26 #include <TopoDS_Face.hxx>
27 #include <TopTools_HArray2OfShape.hxx>
28 #include <Standard_Boolean.hxx>
29 #include <TopTools_DataMapOfShapeListOfShape.hxx>
30 #include <TopTools_ListOfShape.hxx>
38 class BRepFill_TrimShellCorner
45 Standard_EXPORT BRepFill_TrimShellCorner(const Handle(TopTools_HArray2OfShape)& theFaces, const gp_Ax2& theAxeOfBisPlane, const TopoDS_Face& theSecPlane);
47 Standard_EXPORT BRepFill_TrimShellCorner(const Handle(TopTools_HArray2OfShape)& theFaces, const gp_Ax2& theAxeOfBisPlane, const TopoDS_Wire& theSpine, const TopoDS_Face& theSecPlane);
49 Standard_EXPORT void SetSpine (const TopoDS_Wire& theSpine);
51 Standard_EXPORT void AddBounds (const Handle(TopTools_HArray2OfShape)& Bounds);
53 Standard_EXPORT void AddUEdges (const Handle(TopTools_HArray2OfShape)& theUEdges);
55 Standard_EXPORT void Perform();
57 Standard_EXPORT Standard_Boolean IsDone() const;
59 Standard_EXPORT Standard_Boolean HasSection() const;
61 Standard_EXPORT void Modified (const TopoDS_Shape& S, TopTools_ListOfShape& theModified);
76 gp_Ax2 myAxeOfBisPlane;
77 TopoDS_Shape myShape1;
78 TopoDS_Shape myShape2;
81 Handle(TopTools_HArray2OfShape) myBounds;
82 Handle(TopTools_HArray2OfShape) myUEdges;
83 Handle(TopTools_HArray2OfShape) myFaces;
84 Standard_Boolean myDone;
85 Standard_Boolean myHasSection;
86 TopTools_DataMapOfShapeListOfShape myHistMap;
97 #endif // _BRepFill_TrimShellCorner_HeaderFile