0023948: Wrong intersection between a surface of revolution and a plane.
[occt.git] / src / QANewModTopOpe / QANewModTopOpe_Intersection.cdl
1 -- Created on: 2000-12-25
2 -- Created by: Igor FEOKTISTOV <ifv@nnov.matra-dtv.fr>
3 -- Copyright (c) 2000-2014 OPEN CASCADE SAS
4 --
5 -- This file is part of Open CASCADE Technology software library.
6 --
7 -- This library is free software; you can redistribute it and/or modify it under
8 -- the terms of the GNU Lesser General Public License version 2.1 as published
9 -- by the Free Software Foundation, with special exception defined in the file
10 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 -- distribution for complete text of the license and disclaimer of any warranty.
12 --
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
15
16 class Intersection from QANewModTopOpe inherits BooleanOperation from BRepAlgoAPI 
17
18 ---Purpose: provides  intersection  of  two  shapes;
19  
20 uses
21
22     Shape from TopoDS, 
23     DataMapOfShapeListOfShape from TopTools,
24     ListOfShape from TopTools
25      
26 is 
27   
28     Create(theObject1,  theObject2 : Shape from TopoDS )
29     ---Purpose: 
30     
31     returns Intersection  from QANewModTopOpe;   
32
33     Generated (me: in out; theS : Shape from TopoDS)
34         ---Purpose: Returns the list  of shapes generated from the shape <S>. 
35         ---C++: return const & 
36         ---Level: Public
37     returns ListOfShape from TopTools
38     is redefined; 
39
40     HasGenerated (me)
41         returns Boolean from Standard
42         is redefined;
43         ---Purpose: Returns true if there is at least one generated shape.
44         ---         For use in BRepNaming.
45
46     IsDeleted (me: in out;  
47             aS : Shape from TopoDS)
48         returns Boolean
49         is redefined;
50
51
52     HasDeleted (me)
53         returns Boolean from Standard
54         is redefined;
55         ---Purpose: Returns true if there is at least one deleted shape.
56         ---         For use in BRepNaming.
57
58 fields
59     
60     myMapGener: DataMapOfShapeListOfShape from TopTools;
61
62 end  Intersection;