File indexing completed on 2025-01-18 10:03:06
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_ListOfCurveRepresentation.hxx>
0025 #include <TopoDS_TEdge.hxx>
0026 class TopoDS_TShape;
0027
0028
0029 class BRep_TEdge;
0030 DEFINE_STANDARD_HANDLE(BRep_TEdge, TopoDS_TEdge)
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046 class BRep_TEdge : public TopoDS_TEdge
0047 {
0048
0049 public:
0050
0051
0052
0053 Standard_EXPORT BRep_TEdge();
0054
0055 Standard_Real Tolerance() const;
0056
0057 void Tolerance (const Standard_Real T);
0058
0059
0060
0061 void UpdateTolerance (const Standard_Real T);
0062
0063 Standard_EXPORT Standard_Boolean SameParameter() const;
0064
0065 Standard_EXPORT void SameParameter (const Standard_Boolean S);
0066
0067 Standard_EXPORT Standard_Boolean SameRange() const;
0068
0069 Standard_EXPORT void SameRange (const Standard_Boolean S);
0070
0071 Standard_EXPORT Standard_Boolean Degenerated() const;
0072
0073 Standard_EXPORT void Degenerated (const Standard_Boolean S);
0074
0075 const BRep_ListOfCurveRepresentation& Curves() const;
0076
0077 BRep_ListOfCurveRepresentation& ChangeCurves();
0078
0079
0080 Standard_EXPORT Handle(TopoDS_TShape) EmptyCopy() const Standard_OVERRIDE;
0081
0082
0083 Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
0084
0085
0086
0087
0088 DEFINE_STANDARD_RTTIEXT(BRep_TEdge,TopoDS_TEdge)
0089
0090 protected:
0091
0092
0093
0094
0095 private:
0096
0097
0098 Standard_Real myTolerance;
0099 Standard_Integer myFlags;
0100 BRep_ListOfCurveRepresentation myCurves;
0101
0102
0103 };
0104
0105
0106 #include <BRep_TEdge.lxx>
0107
0108
0109
0110
0111
0112 #endif