b311480e |
1 | -- Created on: 1995-03-15 |
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 | -- |
973c2be1 |
8 | -- This library is free software; you can redistribute it and / or modify it |
9 | -- under the terms of the GNU Lesser General Public 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. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | class PolygonOnClosedTriangulation from BRep |
18 | |
19 | inherits PolygonOnTriangulation from BRep |
20 | |
21 | |
22 | ---Purpose: A representation by two arrays of nodes on a |
23 | -- triangulation. |
24 | |
25 | |
26 | uses HArray1OfInteger from TColStd, |
27 | Array1OfInteger from TColStd, |
28 | Location from TopLoc, |
29 | CurveRepresentation from BRep, |
30 | Triangulation from Poly, |
31 | PolygonOnTriangulation from Poly |
32 | |
33 | |
34 | is |
35 | |
36 | Create(P1, P2 : PolygonOnTriangulation from Poly; |
37 | Tr: Triangulation from Poly; |
38 | L : Location from TopLoc) |
39 | returns mutable PolygonOnClosedTriangulation from BRep; |
40 | |
41 | |
42 | IsPolygonOnClosedTriangulation(me) returns Boolean |
43 | ---Purpose: Returns True. |
44 | is redefined; |
45 | |
46 | |
47 | PolygonOnTriangulation2(me: mutable; P2: PolygonOnTriangulation from Poly) |
48 | is redefined; |
49 | |
50 | |
51 | PolygonOnTriangulation2(me) returns any PolygonOnTriangulation from Poly |
52 | ---C++: return const& |
53 | is redefined; |
54 | |
55 | |
56 | Copy(me) returns mutable CurveRepresentation from BRep is redefined; |
57 | ---Purpose: Return a copy of this representation. |
58 | |
59 | |
60 | fields |
61 | |
62 | myPolygon2: PolygonOnTriangulation from Poly; |
63 | |
64 | end PolygonOnClosedTriangulation; |