0024624: Lost word in license statement in source files
[occt.git] / src / BRep / BRep_Polygon3D.cdl
1 -- Created on: 1995-03-09
2 -- Created by: Laurent PAINNOT
3 -- Copyright (c) 1995-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 Polygon3D from BRep inherits CurveRepresentation from BRep
18
19         ---Purpose: 
20
21 uses
22     Polygon3D           from Poly,
23     CurveRepresentation from BRep,
24     Location            from TopLoc
25
26 raises DomainError from Standard
27
28 is
29
30     Create(P: Polygon3D from Poly;
31            L: Location  from TopLoc) 
32         ---Purpose:
33
34     returns mutable Polygon3D from BRep;
35     
36     
37     IsPolygon3D(me) returns Boolean
38         ---Purpose: Returns True.
39     is redefined;
40     
41     Polygon3D(me) returns any Polygon3D from Poly
42         ---C++: return const&
43     is redefined;
44     
45     Polygon3D(me: mutable; P: Polygon3D from Poly)
46     raises
47         DomainError from Standard
48     is redefined;
49
50     Copy(me) returns mutable CurveRepresentation from BRep;
51         ---Purpose: Return a copy of this representation.
52
53
54 fields
55
56 myPolygon3D: Polygon3D from Poly;
57
58
59 end Polygon3D;