summaryrefslogtreecommitdiff
path: root/src/BOP/BOP_WireSplitter.cdl
blob: 197ed632edec904cb8001d8928a8c395a291eabc (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
87
88
89
90
91
92
93
94
95
96
-- File:	BOP_WireSplitter.cdl
-- Created:	Mon Apr  9 10:50:36 2001
-- Author:	Peter KURNEV
--		<pkv@irinox>
---Copyright:	 Matra Datavision 2001


class WireSplitter from BOP 

    	---Purpose: 
    	---  the algorithm to split multiconnexed   
    	---  wires on a face onto biconnexed ones 
	---  .
uses
    Face   from TopoDS,  
    Vertex from TopoDS, 
    Edge   from TopoDS, 
    
    SequenceOfPnt2d  from TColgp, 
    SequenceOfShape  from TopTools,   
    ListOfShape      from TopTools, 
    
    ListOfListOfShape from BOPTColStd, 
    
    EdgeInfo                           from BOP,
    IndexedDataMapOfVertexListEdgeInfo from BOP

--raises

is 
    Create   
    	returns WireSplitter from BOP; 
    	---C++: inline
    	---Purpose:  
    	--- Empty constructor; 
    	---
    SetFace  (me:out; 
    	    	aF: Face from TopoDS); 
    	---C++: inline
    	---Purpose:  
    	--- Modifier
    	---
    DoWithListOfEdges(me:out; 
    	    	    	aLE:ListOfShape from  TopTools); 
    	---Purpose:  
    	--- Perform the algorithm using the  list of shapes <aLE> as data  
    	---
    DoWithFace  (me:out); 
    	---Purpose:  
    	--- Perform the algorithm using the face as data  
    	---
    Do          (me:out) 
    	is private;  
    	---Purpose:  
    	--- Perform the algorithm 
    	---
    IsNothingToDo (me) 
    	returns  Boolean from Standard;
    	---C++: inline
    	---Purpose:  
    	--- Returns TRUE if the source wire is biconnexed and      
    	--- there is nothing to correct 
    	---
    IsDone (me) 
    	returns  Boolean from Standard; 
    	---C++: inline
    	---Purpose:  
    	--- Returns TRUE if the algorithm was performed  
    	--- successfuly
	---
    Face   (me) 
    	returns Face from TopoDS; 
    	---C++:  return const &	    	 
    	---C++: inline
    	---Purpose:  
    	--- Selector
    	---
    Shapes (me) 
    	returns  ListOfListOfShape from BOPTColStd; 
    	---C++:  return const &	    		 
    	---C++: inline
    	---Purpose:  
    	--- Selector
    	---
    
	
fields  

    myFace       :  Face from TopoDS; 
    myIsDone     :  Boolean from Standard;
    myNothingToDo:  Boolean from Standard;
    myShapes     :  ListOfListOfShape from BOPTColStd; 
    mySmartMap   :  IndexedDataMapOfVertexListEdgeInfo from BOP;  
    myEdges      :  ListOfShape from  TopTools; 
    
end WireSplitter;