1 // Created on: 1996-09-04
2 // Created by: Jacques GOUSSARD
3 // Copyright (c) 1996-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.
17 #ifndef _LocOpe_DPrism_HeaderFile
18 #define _LocOpe_DPrism_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
24 #include <BRepFill_Evolved.hxx>
25 #include <TopoDS_Shape.hxx>
26 #include <TopoDS_Face.hxx>
27 #include <TopoDS_Wire.hxx>
28 #include <TopoDS_Edge.hxx>
29 #include <Standard_Real.hxx>
30 #include <TColGeom_SequenceOfCurve.hxx>
31 #include <TopTools_DataMapOfShapeListOfShape.hxx>
32 #include <Standard_Boolean.hxx>
33 #include <TopTools_ListOfShape.hxx>
34 class Standard_NoSuchObject;
35 class Standard_DomainError;
36 class StdFail_NotDone;
42 //! Defines a pipe (near from Pipe from BRepFill),
43 //! with modifications provided for the Pipe feature.
51 Standard_EXPORT LocOpe_DPrism(const TopoDS_Face& Spine, const Standard_Real Height1, const Standard_Real Height2, const Standard_Real Angle);
53 Standard_EXPORT LocOpe_DPrism(const TopoDS_Face& Spine, const Standard_Real Height, const Standard_Real Angle);
55 Standard_EXPORT Standard_Boolean IsDone() const;
57 Standard_EXPORT const TopoDS_Shape& Spine() const;
59 Standard_EXPORT const TopoDS_Shape& Profile() const;
61 Standard_EXPORT const TopoDS_Shape& FirstShape() const;
63 Standard_EXPORT const TopoDS_Shape& LastShape() const;
65 Standard_EXPORT const TopoDS_Shape& Shape() const;
67 Standard_EXPORT const TopTools_ListOfShape& Shapes (const TopoDS_Shape& S) const;
69 Standard_EXPORT void Curves (TColGeom_SequenceOfCurve& SCurves) const;
71 Standard_EXPORT Handle(Geom_Curve) BarycCurve() const;
85 Standard_EXPORT void IntPerf();
88 BRepFill_Evolved myDPrism;
91 TopoDS_Wire myProfile;
92 TopoDS_Edge myProfile1;
93 TopoDS_Edge myProfile2;
94 TopoDS_Edge myProfile3;
95 Standard_Real myHeight;
96 TopoDS_Shape myFirstShape;
97 TopoDS_Shape myLastShape;
98 TColGeom_SequenceOfCurve myCurvs;
99 TopTools_DataMapOfShapeListOfShape myMap;
110 #endif // _LocOpe_DPrism_HeaderFile