File indexing completed on 2026-09-29 09:18:11
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRep_TEdge_HeaderFile
0018 #define _BRep_TEdge_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <Standard_Integer.hxx>
0024 #include <BRep_CurveRepresentation.hxx>
0025 #include <NCollection_List.hxx>
0026 #include <TopoDS_TEdge.hxx>
0027 class TopoDS_TShape;
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039 class BRep_TEdge : public TopoDS_TEdge
0040 {
0041
0042 public:
0043
0044 Standard_EXPORT BRep_TEdge();
0045
0046 double Tolerance() const;
0047
0048 void Tolerance(const double T);
0049
0050
0051
0052 void UpdateTolerance(const double T);
0053
0054 Standard_EXPORT bool SameParameter() const;
0055
0056 Standard_EXPORT void SameParameter(const bool S);
0057
0058 Standard_EXPORT bool SameRange() const;
0059
0060 Standard_EXPORT void SameRange(const bool S);
0061
0062 Standard_EXPORT bool Degenerated() const;
0063
0064 Standard_EXPORT void Degenerated(const bool S);
0065
0066 const NCollection_List<occ::handle<BRep_CurveRepresentation>>& Curves() const;
0067
0068 NCollection_List<occ::handle<BRep_CurveRepresentation>>& ChangeCurves();
0069
0070
0071 Standard_EXPORT occ::handle<TopoDS_TShape> EmptyCopy() const override;
0072
0073
0074 Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override;
0075
0076 DEFINE_STANDARD_RTTIEXT(BRep_TEdge, TopoDS_TEdge)
0077
0078 private:
0079 double myTolerance;
0080 int myFlags;
0081 NCollection_List<occ::handle<BRep_CurveRepresentation>> myCurves;
0082 };
0083
0084 #include <BRep_TEdge.lxx>
0085
0086 #endif