Warnings on vc14 were eliminated
[occt.git] / src / BRepCheck / BRepCheck_Edge.hxx
CommitLineData
42cf5bc1 1// Created on: 1995-12-11
2// Created by: Jacques GOUSSARD
3// Copyright (c) 1995-1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _BRepCheck_Edge_HeaderFile
18#define _BRepCheck_Edge_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_Type.hxx>
22
23#include <Standard_Boolean.hxx>
24#include <BRepCheck_Result.hxx>
25#include <Standard_Real.hxx>
26#include <BRepCheck_Status.hxx>
27class BRep_CurveRepresentation;
28class Adaptor3d_HCurve;
29class TopoDS_Edge;
30class TopoDS_Shape;
31
32
33class BRepCheck_Edge;
34DEFINE_STANDARD_HANDLE(BRepCheck_Edge, BRepCheck_Result)
35
36
37class BRepCheck_Edge : public BRepCheck_Result
38{
39
40public:
41
42
43 Standard_EXPORT BRepCheck_Edge(const TopoDS_Edge& E);
44
79104795 45 Standard_EXPORT void InContext (const TopoDS_Shape& ContextShape) Standard_OVERRIDE;
42cf5bc1 46
79104795 47 Standard_EXPORT void Minimum() Standard_OVERRIDE;
42cf5bc1 48
79104795 49 Standard_EXPORT void Blind() Standard_OVERRIDE;
42cf5bc1 50
51 Standard_EXPORT Standard_Boolean GeometricControls() const;
52
53 Standard_EXPORT void GeometricControls (const Standard_Boolean B);
54
55 Standard_EXPORT Standard_Real Tolerance();
56
57 //! Sets status of Edge;
58 Standard_EXPORT void SetStatus (const BRepCheck_Status theStatus);
59
60 //! Checks, if polygon on triangulation of heEdge
61 //! is out of 3D-curve of this edge.
62 Standard_EXPORT BRepCheck_Status CheckPolygonOnTriangulation (const TopoDS_Edge& theEdge);
63
64
65
66
92efcf78 67 DEFINE_STANDARD_RTTIEXT(BRepCheck_Edge,BRepCheck_Result)
42cf5bc1 68
69protected:
70
71
72
73
74private:
75
76
77 Handle(BRep_CurveRepresentation) myCref;
78 Handle(Adaptor3d_HCurve) myHCurve;
79 Standard_Boolean myGctrl;
80
81
82};
83
84
85
86
87
88
89
90#endif // _BRepCheck_Edge_HeaderFile