Integration of OCCT 6.5.0 from SVN
[occt.git] / src / IntPatch / IntPatch_PolyArc.cdl
CommitLineData
7fd59977 1-- File: IntPatch_PolyArc.cdl
2-- Created: Wed Jan 27 09:44:03 1993
3-- Author: Isabelle GRIGNON
4---Copyright: Matra Datavision 1993
5
6class PolyArc from IntPatch
7
8inherits Polygo from IntPatch
9
10uses Box2d from Bnd,
11 Pnt2d from gp,
12 Array1OfPnt2d from TColgp,
13 Array1OfReal from TColStd,
14 HCurve2d from Adaptor2d
15
16raises ConstructionError from Standard
17
18is
19
20 Create(A: HCurve2d from Adaptor2d; NbSample: Integer from Standard;
21 Pfirst,Plast : Real from Standard;
22 BoxOtherPolygon: Box2d from Bnd)
23
24 ---Purpose: Creates the polygon of the arc A on the surface S.
25 -- The arc is limited by the parameters Pfirst and Plast.
26 -- None of these parameters can be infinite.
27
28 returns PolyArc from IntPatch
29
30 raises ConstructionError from Standard;
31 --- This exception is raised if Pfirst=RealFirst or Plast=RealLast or
32 -- NbSample<=1.
33
34
35 Bounding(me)
36 ---C++: return const&
37 returns Box2d from Bnd;
38
39 Error(me) returns Real from Standard;
40
41 Closed(me) returns Boolean from Standard;
42
43 NbPoints(me) returns Integer;
44
45 Point(me; Index : Integer) returns Pnt2d from gp;
46
47 Parameter(me ; Index : Integer) returns Real from Standard;
48
49 SetOffset(me:in out; OffsetX,OffsetY: Real from Standard);
50
51
52fields
53
54 brise : Array1OfPnt2d from TColgp;
55 param : Array1OfReal from TColStd;
56 boite : Box2d from Bnd;
57 fleche : Real from Standard;
58 offsetx: Real from Standard;
59 offsety: Real from Standard;
60 ferme : Boolean from Standard;
61
62end PolyArc;