Warning, file /include/opencascade/BRepFill_SectionLaw.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepFill_SectionLaw_HeaderFile
0018 #define _BRepFill_SectionLaw_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <GeomFill_SectionLaw.hxx>
0024 #include <NCollection_Array1.hxx>
0025 #include <NCollection_HArray1.hxx>
0026 #include <TopoDS_Shape.hxx>
0027 #include <Standard_Integer.hxx>
0028 #include <TopTools_ShapeMapHasher.hxx>
0029 #include <NCollection_DataMap.hxx>
0030 #include <BRepTools_WireExplorer.hxx>
0031 #include <Standard_Transient.hxx>
0032 #include <GeomAbs_Shape.hxx>
0033 class GeomFill_SectionLaw;
0034 class TopoDS_Vertex;
0035 class TopoDS_Shape;
0036 class TopoDS_Wire;
0037 class TopoDS_Edge;
0038
0039
0040 class BRepFill_SectionLaw : public Standard_Transient
0041 {
0042
0043 public:
0044 Standard_EXPORT int NbLaw() const;
0045
0046 Standard_EXPORT const occ::handle<GeomFill_SectionLaw>& Law(const int Index) const;
0047
0048 Standard_EXPORT int IndexOfEdge(const TopoDS_Shape& anEdge) const;
0049
0050 Standard_EXPORT virtual bool IsConstant() const = 0;
0051
0052 Standard_EXPORT bool IsUClosed() const;
0053
0054 Standard_EXPORT bool IsVClosed() const;
0055
0056 Standard_EXPORT bool IsDone() const;
0057
0058
0059 Standard_EXPORT virtual bool IsVertex() const = 0;
0060
0061 Standard_EXPORT virtual occ::handle<GeomFill_SectionLaw> ConcatenedLaw() const = 0;
0062
0063 Standard_EXPORT virtual GeomAbs_Shape Continuity(const int Index,
0064 const double TolAngular) const = 0;
0065
0066 Standard_EXPORT virtual double VertexTol(const int Index, const double Param) const = 0;
0067
0068 Standard_EXPORT virtual TopoDS_Vertex Vertex(const int Index, const double Param) const = 0;
0069
0070 Standard_EXPORT virtual void D0(const double U, TopoDS_Shape& S) = 0;
0071
0072 Standard_EXPORT void Init(const TopoDS_Wire& W);
0073
0074 Standard_EXPORT TopoDS_Edge CurrentEdge();
0075
0076 DEFINE_STANDARD_RTTIEXT(BRepFill_SectionLaw, Standard_Transient)
0077
0078 protected:
0079 occ::handle<NCollection_HArray1<occ::handle<GeomFill_SectionLaw>>> myLaws;
0080 bool uclosed;
0081 bool vclosed;
0082 bool myDone;
0083 NCollection_DataMap<TopoDS_Shape, int, TopTools_ShapeMapHasher> myIndices;
0084
0085 private:
0086 BRepTools_WireExplorer myIterator;
0087 };
0088
0089 #endif