b311480e |
1 | -- Created on: 1991-08-02 |
2 | -- Created by: Laurent BUCHARD |
3 | -- Copyright (c) 1991-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 | |
17 | generic class PolygonTool from IntCurveSurface( |
18 | ThePoint as any; |
19 | ThePolygon as any; |
20 | TheBoundingBox as any) |
21 | |
22 | ---Purpose: |
23 | |
24 | raises OutOfRange from Standard |
25 | |
26 | |
27 | is |
28 | |
29 | |
30 | Bounding (myclass; thePolygon : ThePolygon) |
31 | returns TheBoundingBox; |
32 | ---Purpose: Give the bounding box of the polygon. |
33 | ---C++: inline |
34 | ---C++: return const & |
35 | |
36 | DeflectionOverEstimation |
37 | (myclass; thePolygon : ThePolygon) |
38 | ---C++: inline |
39 | returns Real from Standard; |
40 | |
41 | Closed (myclass; thePolygon : ThePolygon) |
42 | ---C++: inline |
43 | returns Boolean from Standard; |
44 | |
45 | NbSegments (myclass; thePolygon : ThePolygon) |
46 | ---C++: inline |
47 | returns Integer from Standard; |
48 | |
49 | BeginOfSeg (myclass; thePolygon : ThePolygon; |
50 | Index : in Integer) |
51 | ---C++: inline |
52 | returns ThePoint |
53 | raises OutOfRange from Standard; |
54 | ---C++: return const & |
55 | ---Purpose: Give the point of range Index in the Polygon. |
56 | |
57 | EndOfSeg (myclass; thePolygon : ThePolygon; |
58 | Index : in Integer) |
59 | ---C++: inline |
60 | returns ThePoint |
61 | raises OutOfRange from Standard; |
62 | ---C++: return const & |
63 | ---Purpose: Give the point of range Index in the Polygon. |
64 | |
65 | |
66 | Dump (myclass; thePolygon : ThePolygon); |
67 | |
68 | end PolygonTool; |
69 | |
70 | |
71 | |
72 | |
73 | |
74 | |
75 | |
76 | |