summaryrefslogtreecommitdiff
path: root/src/BOP/BOP_SolidClassifier.cdl
blob: 18d721655efb6e91992f52e3f65cb1a3906f9373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
-- File:	BOP_SolidClassifier.cdl

class SolidClassifier from BOP

    ---Purpose: 
    --  The  auxiliary class to classify points with 
    --  a solid  
    --	     
uses 

    State from TopAbs,
    Shell from TopoDS,
    Solid from TopoDS,
    Pnt   from gp,
    PSoClassif                      from BOP,
    IndexedDataMapOfSolidClassifier from BOP,
    Builder from BRep
    
is

    Create  
    	returns SolidClassifier from BOP;
    	---Purpose:  
    	--- Empty  Constructor 
    	---
    Clear(me:out)  
    	is static;
    	---Purpose:  
    	--- Clear internal state  
    	---
    LoadSolid(me: out;  
    	    aS : Solid from TopoDS)  
    	is static;
    	---Purpose:  
    	--- Modifier  
    	---
    Classify(me:out;  
    	    aS : Solid from TopoDS;  
    	    aP : Pnt from gp;  
    	    aTol: Real from Standard) 
    returns State from TopAbs
    	is static;
    	---Purpose:  
    	--- Compute the position of point <P> regarding with the
    	--- geometric domain of the solid <S>.  
    	---
    	

    LoadShell(me:out;  
    	    S : Shell from TopoDS) 
    	 is static;
    	---Purpose:  
    	--- Modifier  
    	---
    Classify(me:out;  
    	    aS : Shell from TopoDS;  
    	    aP : Pnt from gp;  
    	    aTol : Real  from  Standard) 
    returns State from TopAbs
    	is static;
    	---Purpose:  
    	--- Compute the position of point <P> regarding with the
    	--- geometric domain of the shell <S>. 
	---
    State(me)  
    	returns State from TopAbs
    	is static;   
    	---Purpose: 
    	--- Returns computed 3D-State   
    	---
    Destroy (me:out); 
    	---C++: alias "Standard_EXPORT virtual ~BOP_SolidClassifier(){Destroy();}"  
    	---Purpose: 
    	--- Destructor   
    	---
    
fields

    myPClassifier   : PSoClassif from BOP;  
    myClassifierMap : IndexedDataMapOfSolidClassifier from BOP;
    myState         : State from TopAbs;    
    myShell         : Shell from TopoDS;
    mySolid         : Solid from TopoDS;
    myBuilder       : Builder from BRep;
    
end SolidClassifier from BOP;