1 -- File: IntCurveSurface_PolygonTool.cdl
2 -- Created: Fri Aug 2 08:18:37 1991
3 -- Author: Laurent BUCHARD
5 ---Copyright: Matra Datavision 1991
10 generic class PolygonTool from IntCurveSurface(
13 TheBoundingBox as any)
17 raises OutOfRange from Standard
23 Bounding (myclass; thePolygon : ThePolygon)
24 returns TheBoundingBox;
25 ---Purpose: Give the bounding box of the polygon.
27 ---C++: return const &
29 DeflectionOverEstimation
30 (myclass; thePolygon : ThePolygon)
32 returns Real from Standard;
34 Closed (myclass; thePolygon : ThePolygon)
36 returns Boolean from Standard;
38 NbSegments (myclass; thePolygon : ThePolygon)
40 returns Integer from Standard;
42 BeginOfSeg (myclass; thePolygon : ThePolygon;
46 raises OutOfRange from Standard;
47 ---C++: return const &
48 ---Purpose: Give the point of range Index in the Polygon.
50 EndOfSeg (myclass; thePolygon : ThePolygon;
54 raises OutOfRange from Standard;
55 ---C++: return const &
56 ---Purpose: Give the point of range Index in the Polygon.
59 Dump (myclass; thePolygon : ThePolygon);