File indexing completed on 2026-09-14 09:13:52
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepCheck_Edge_HeaderFile
0018 #define _BRepCheck_Edge_HeaderFile
0019
0020 #include <Adaptor3d_Curve.hxx>
0021 #include <BRepCheck_Result.hxx>
0022 #include <BRepCheck_Status.hxx>
0023
0024 class BRep_CurveRepresentation;
0025 class TopoDS_Edge;
0026 class TopoDS_Shape;
0027
0028 class BRepCheck_Edge : public BRepCheck_Result
0029 {
0030
0031 public:
0032 Standard_EXPORT BRepCheck_Edge(const TopoDS_Edge& E);
0033
0034 Standard_EXPORT void InContext(const TopoDS_Shape& ContextShape) override;
0035
0036 Standard_EXPORT void Minimum() override;
0037
0038 Standard_EXPORT void Blind() override;
0039
0040 Standard_EXPORT bool GeometricControls() const;
0041
0042 Standard_EXPORT void GeometricControls(const bool B);
0043
0044 Standard_EXPORT double Tolerance();
0045
0046
0047 Standard_EXPORT void SetStatus(const BRepCheck_Status theStatus);
0048
0049
0050
0051
0052
0053
0054 void SetExactMethod(bool theIsExact) { myIsExactMethod = theIsExact; }
0055
0056
0057 bool IsExactMethod() { return myIsExactMethod; }
0058
0059
0060
0061 Standard_EXPORT BRepCheck_Status CheckPolygonOnTriangulation(const TopoDS_Edge& theEdge);
0062
0063 DEFINE_STANDARD_RTTIEXT(BRepCheck_Edge, BRepCheck_Result)
0064
0065 private:
0066 occ::handle<BRep_CurveRepresentation> myCref;
0067 occ::handle<Adaptor3d_Curve> myHCurve;
0068 bool myGctrl;
0069 bool myIsExactMethod;
0070 };
0071
0072 #endif