0025109: Check PolygonOnTriangulation contained in edges
[occt.git] / src / BRepCheck / BRepCheck_Edge.cdl
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 class Edge from BRepCheck inherits Result from BRepCheck
18
19         ---Purpose: 
20
21 uses Shape               from TopoDS,
22      Edge                from TopoDS,
23      CurveRepresentation from BRep,
24      HCurve              from Adaptor3d,
25      Status              from BRepCheck
26
27 is
28
29     Create(E: Edge from TopoDS)
30     
31         returns Edge from BRepCheck;
32
33
34     InContext(me: mutable; ContextShape: Shape from TopoDS);
35     
36
37
38     Minimum(me: mutable);
39     
40
41     
42     Blind(me: mutable);
43
44
45     GeometricControls(me)
46     
47         returns Boolean from Standard
48         is static;
49
50
51     GeometricControls(me: mutable; B: Boolean from Standard)
52     
53         is static;
54
55     Tolerance(me: mutable) returns Real from Standard 
56
57         is static;
58
59     SetStatus(me: mutable;
60               theStatus:Status from BRepCheck)
61
62           --- Purpose: Sets status of Edge;
63         is static;
64
65     CheckPolygonOnTriangulation(me: mutable; theEdge: Edge from TopoDS)
66           --- Purpose: Checks, if polygon on triangulation of heEdge
67      -- is out of 3D-curve of this edge.
68         returns Status from BRepCheck
69         is static;
70
71 fields
72
73     myCref   : CurveRepresentation from BRep;
74     myHCurve : HCurve              from Adaptor3d;
75     myGctrl  : Boolean from Standard;
76
77 end Edge;