Test for 0022778: Bug in BRepMesh
[occt.git] / src / BRepClass / BRepClass_FaceClassifier.cdl
1 -- Created on: 1993-05-28
2 -- Created by: Modelistation
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
5 --
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
10 --
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 --
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
20
21
22
23 class FaceClassifier from BRepClass inherits FClassifier from BRepClass
24
25         ---Purpose: Provides Constructors.
26
27 uses
28     FaceExplorer from BRepClass,
29     Face         from TopoDS,
30     Pnt2d        from gp,
31     Pnt          from gp
32
33 is
34     Create returns FaceClassifier from BRepClass;
35         ---Purpose: Empty constructor, undefined algorithm.
36         
37         
38         
39       
40     Create(F : in out FaceExplorer from BRepClass; 
41            P : Pnt2d from gp; Tol : Real)
42     returns FaceClassifier from BRepClass;
43         ---Purpose: Creates an algorithm to classify the Point  P with
44         --          Tolerance <T> on the face described by <F>.
45         
46     Create(F : Face from TopoDS; 
47            P : Pnt2d from gp; Tol : Real)
48     returns FaceClassifier from BRepClass;
49         ---Purpose: Creates an algorithm to classify the Point  P with
50         --          Tolerance <T> on the face <F>.
51         
52     Perform(me : in out;
53             F : Face from TopoDS; 
54             P : Pnt2d from gp; Tol : Real)
55         ---Purpose: Classify  the Point  P  with  Tolerance <T> on the
56         --          face described by <F>.
57     is static;
58
59
60
61     
62     Create(F : in out FaceExplorer from BRepClass; 
63            P : Pnt from gp; Tol : Real)
64     returns FaceClassifier from BRepClass;
65         ---Purpose: Creates an algorithm to classify the Point  P with
66         --          Tolerance <T> on the face described by <F>.
67         
68     Create(F : Face from TopoDS; 
69            P : Pnt from gp; Tol : Real)
70     returns FaceClassifier from BRepClass;
71         ---Purpose: Creates an algorithm to classify the Point  P with
72         --          Tolerance <T> on the face <F>.
73         
74     Perform(me : in out;
75             F : Face from TopoDS; 
76             P : Pnt from gp; Tol : Real)
77         ---Purpose: Classify  the Point  P  with  Tolerance <T> on the
78         --          face described by <F>.
79     is static;   
80
81
82 end FaceClassifier;