0022627: Change OCCT memory management defaults
[occt.git] / src / Intf / Intf_Polygon2d.cdl
CommitLineData
9530af27 1-- File: Intf_Polygon2d.cdl
2-- Created: Fri Feb 10 17:49:16 2012
3-- Author: Serey ZERCHANINOV
4---Copyright: OPEN CASCADE SAS 2012
5
6
7deferred class Polygon2d from Intf
8
9 ---Purpose:
10
11uses Pnt2d from gp,
12 Box2d from Bnd
13
14raises OutOfRange from Standard
15
16is
17
18 Bounding (me)
19 returns Box2d from Bnd;
20 ---C++: return const &
21 ---C++: inline
22 ---Purpose: Returns the bounding box of the polygon.
23
24 Closed (me)
25 returns Boolean from Standard is virtual;
26 ---Purpose: Returns True if the polyline is closed.
27
28 DeflectionOverEstimation (me) returns Real from Standard is deferred;
29 ---Purpose: Returns the tolerance of the polygon.
30
31 NbSegments (me) returns Integer from Standard is deferred;
32 ---Purpose: Returns the number of Segments in the polyline.
33
34 Segment (me; theIndex : in Integer from Standard;
35 theBegin, theEnd : in out Pnt2d from gp)
36 raises OutOfRange from Standard is deferred;
37 ---Purpose: Returns the points of the segment <Index> in the Polygon.
38
39fields
40
41 myBox : Box2d from Bnd is protected;
42
43end Polygon2d;