0023948: Wrong intersection between a surface of revolution and a plane.
[occt.git] / src / IGESData / IGESData_DefaultGeneral.cdl
1 -- Created on: 1993-09-08
2 -- Created by: Christian CAILLET
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License 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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class DefaultGeneral  from IGESData  inherits  GeneralModule  from IGESData
18
19     ---Purpose : Processes the specific case of UndefinedEntity from IGESData
20     --           (Case Number 1)
21
22 uses OStream, Transient,
23      InterfaceModel, Check, ShareTool, EntityIterator, CopyTool,
24      IGESEntity, DirChecker
25
26 is
27
28     Create returns DefaultGeneral;
29     ---Purpose : Creates a DefaultGeneral and puts it into GeneralLib,
30     --           bound with a Protocol from IGESData
31
32     OwnSharedCase  (me; CN : Integer; ent : IGESEntity;
33                     iter : in out EntityIterator);
34     ---Purpose : Lists the Entities shared by an IGESEntity, which must be
35     --           an UndefinedEntity
36
37
38     DirChecker (me; CN : Integer; ent : IGESEntity) returns DirChecker;
39     ---Purpose : Returns a DirChecker, specific for each type of Entity
40     --           Here, Returns an empty DirChecker (no constraint to check)
41
42     OwnCheckCase (me; CN : Integer; ent : IGESEntity; shares : ShareTool;
43                   ach    : in out Check);
44     ---Purpose : Performs Specific Semantic Check for each type of Entity
45     --           Here, does nothing (no constraint to check)
46
47
48     NewVoid (me; CN : Integer; entto : out Transient)
49         returns Boolean;
50     ---Purpose : Specific creation of a new void entity (UndefinedEntity only)
51
52     OwnCopyCase (me; CN : Integer;
53                  entfrom : IGESEntity; entto : IGESEntity;
54                  TC : in out CopyTool);
55     ---Purpose : Copies parameters which are specific of each Type of Entity
56
57 end DefaultGeneral;