File indexing completed on 2026-06-17 08:28:31
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _LocOpe_Prism_HeaderFile
0018 #define _LocOpe_Prism_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TopoDS_Shape.hxx>
0025 #include <gp_Vec.hxx>
0026 #include <TopTools_DataMapOfShapeListOfShape.hxx>
0027 #include <TopTools_ListOfShape.hxx>
0028 #include <TColGeom_SequenceOfCurve.hxx>
0029 class Geom_Curve;
0030
0031
0032
0033 class LocOpe_Prism
0034 {
0035 public:
0036 DEFINE_STANDARD_ALLOC
0037
0038 Standard_EXPORT LocOpe_Prism();
0039
0040 Standard_EXPORT LocOpe_Prism(const TopoDS_Shape& Base, const gp_Vec& V);
0041
0042 Standard_EXPORT LocOpe_Prism(const TopoDS_Shape& Base, const gp_Vec& V, const gp_Vec& Vectra);
0043
0044 Standard_EXPORT void Perform(const TopoDS_Shape& Base, const gp_Vec& V);
0045
0046 Standard_EXPORT void Perform(const TopoDS_Shape& Base, const gp_Vec& V, const gp_Vec& Vtra);
0047
0048 Standard_EXPORT const TopoDS_Shape& FirstShape() const;
0049
0050 Standard_EXPORT const TopoDS_Shape& LastShape() const;
0051
0052 Standard_EXPORT const TopoDS_Shape& Shape() const;
0053
0054 Standard_EXPORT const TopTools_ListOfShape& Shapes(const TopoDS_Shape& S) const;
0055
0056 Standard_EXPORT void Curves(TColGeom_SequenceOfCurve& SCurves) const;
0057
0058 Standard_EXPORT Handle(Geom_Curve) BarycCurve() const;
0059
0060 protected:
0061 private:
0062 Standard_EXPORT void IntPerf();
0063
0064 TopoDS_Shape myBase;
0065 gp_Vec myVec;
0066 gp_Vec myTra;
0067 Standard_Boolean myIsTrans;
0068 Standard_Boolean myDone;
0069 TopoDS_Shape myRes;
0070 TopoDS_Shape myFirstShape;
0071 TopoDS_Shape myLastShape;
0072 TopTools_DataMapOfShapeListOfShape myMap;
0073 };
0074
0075 #endif