88b45b90b3c9ff75518a1437313aa8fe0d019e97
[occt.git] / src / BRepMesh / BRepMesh_Classifier.cdl
1 -- Created on: 1997-06-26
2 -- Created by: Laurent PAINNOT
3 -- Copyright (c) 1997-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 private class Classifier from BRepMesh
18
19
20
21 uses  
22     Pnt2d                         from gp,
23     SequenceOfPnt2d               from TColgp,
24     Face                          from TopoDS,
25     State                         from TopAbs,
26     SequenceOfInteger             from TColStd,
27     SeqOfPtr                      from BRepTopAdaptor, 
28     DataMapOfShapePairOfPolygon   from BRepMesh,
29     IndexedMapOfInteger           from TColStd,
30     IndexedMapOfVertex            from BRepMesh,
31     Status                        from BRepMesh,
32     DataStructureOfDelaun         from BRepMesh
33
34 is 
35     
36     Create   (theFace      : Face                          from TopoDS; 
37               theTolUV     : Real                          from Standard;
38               theEdges     : DataMapOfShapePairOfPolygon   from BRepMesh;
39               theMap       : IndexedMapOfInteger           from TColStd;
40               theStructure : DataStructureOfDelaun         from BRepMesh;
41               theUmin, theUmax, theVmin, theVmax : Real    from Standard)
42     returns Classifier from BRepMesh;
43
44
45     Perform(me; thePoint: Pnt2d from gp)
46     returns State from TopAbs;
47
48
49     State (me)
50     returns Status from BRepMesh;
51         ---C++: inline
52
53
54     Destroy(me: in out);
55         ---C++: alias ~
56
57
58     AnalizeWire (me          : in out;
59                  theSeqPnt2d : in SequenceOfPnt2d from TColgp;
60                  theUmin, theUmax, theVmin, theVmax: in Real from Standard)
61     is private;
62     -- Private method called from constructor after some (piece of) wire 
63     -- has been explored and put into <theSeqPnt2d>. 
64     -- Here it is triangulated if it is a hole and anyway added to the bulk.
65     
66 fields 
67
68     myTabClass  : SeqOfPtr          from BRepTopAdaptor;
69     myTabOrient : SequenceOfInteger from TColStd;
70     myTolUV     : Real              from Standard;
71     myFace      : Face              from TopoDS;
72     myState     : Status            from BRepMesh;
73
74 end Classifier from BRepMesh;