File indexing completed on 2024-11-15 09:46:06
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;
0029 DEFINE_STANDARD_HANDLE(BRepCheck_Edge, BRepCheck_Result)
0030
0031
0032 class BRepCheck_Edge : public BRepCheck_Result
0033 {
0034
0035 public:
0036
0037
0038 Standard_EXPORT BRepCheck_Edge(const TopoDS_Edge& E);
0039
0040 Standard_EXPORT void InContext (const TopoDS_Shape& ContextShape) Standard_OVERRIDE;
0041
0042 Standard_EXPORT void Minimum() Standard_OVERRIDE;
0043
0044 Standard_EXPORT void Blind() Standard_OVERRIDE;
0045
0046 Standard_EXPORT Standard_Boolean GeometricControls() const;
0047
0048 Standard_EXPORT void GeometricControls (const Standard_Boolean B);
0049
0050 Standard_EXPORT Standard_Real Tolerance();
0051
0052
0053 Standard_EXPORT void SetStatus (const BRepCheck_Status theStatus);
0054
0055
0056
0057
0058
0059
0060 void SetExactMethod(Standard_Boolean theIsExact)
0061 {
0062 myIsExactMethod = theIsExact;
0063 }
0064
0065
0066 Standard_Boolean IsExactMethod()
0067 {
0068 return myIsExactMethod;
0069 }
0070
0071
0072
0073 Standard_EXPORT BRepCheck_Status CheckPolygonOnTriangulation (const TopoDS_Edge& theEdge);
0074
0075 DEFINE_STANDARD_RTTIEXT(BRepCheck_Edge,BRepCheck_Result)
0076
0077 private:
0078
0079
0080 Handle(BRep_CurveRepresentation) myCref;
0081 Handle(Adaptor3d_Curve) myHCurve;
0082 Standard_Boolean myGctrl;
0083 Standard_Boolean myIsExactMethod;
0084 };
0085
0086 #endif