0024428: Implementation of LGPL license
[occt.git] / src / BRepMesh / BRepMesh_Classifier.cdl
CommitLineData
b311480e 1-- Created on: 1997-06-26
2-- Created by: Laurent PAINNOT
3-- Copyright (c) 1997-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
973c2be1 8-- This library is free software; you can redistribute it and / or modify it
9-- under the terms of the GNU Lesser General Public 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17private class Classifier from BRepMesh
18
19
20
21uses
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
34is
35
67263fce 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)
7fd59977 42 returns Classifier from BRepMesh;
43
44
67263fce 45 Perform(me; thePoint: Pnt2d from gp)
7fd59977 46 returns State from TopAbs;
47
48
49 State (me)
50 returns Status from BRepMesh;
51 ---C++: inline
52
7fd59977 53
54 Destroy(me: in out);
67263fce 55 ---C++: alias ~
7fd59977 56
57
67263fce 58 AnalizeWire (me : in out;
59 theSeqPnt2d : in SequenceOfPnt2d from TColgp;
60 theUmin, theUmax, theVmin, theVmax: in Real from Standard)
7fd59977 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
66fields
67
67263fce 68 myTabClass : SeqOfPtr from BRepTopAdaptor;
69 myTabOrient : SequenceOfInteger from TColStd;
70 myTolUV : Real from Standard;
71 myFace : Face from TopoDS;
7fd59977 72 myState : Status from BRepMesh;
7fd59977 73
74end Classifier from BRepMesh;