0024023: Revamp the OCCT Handle -- ambiguity
[occt.git] / src / BRep / BRep_Polygon3D.cdl
CommitLineData
b311480e 1-- Created on: 1995-03-09
2-- Created by: Laurent PAINNOT
3-- Copyright (c) 1995-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 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
973c2be1 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class Polygon3D from BRep inherits CurveRepresentation from BRep
18
ff8178ef 19 ---Purpose: Representation by a 3D polygon.
7fd59977 20
21uses
22 Polygon3D from Poly,
23 CurveRepresentation from BRep,
24 Location from TopLoc
25
26raises DomainError from Standard
27
28is
29
30 Create(P: Polygon3D from Poly;
31 L: Location from TopLoc)
32 ---Purpose:
33
6e33d3ce 34 returns Polygon3D from BRep;
7fd59977 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
6e33d3ce 50 Copy(me) returns CurveRepresentation from BRep;
7fd59977 51 ---Purpose: Return a copy of this representation.
52
53
54fields
55
56myPolygon3D: Polygon3D from Poly;
57
58
59end Polygon3D;