0022887: Request to make Intf_InterferencePolygon2d class thread-safe.
[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
9530af27 34 Closed(me) returns Boolean from Standard is redefined virtual;
7fd59977 35
36 NbPoints(me) returns Integer;
37
38 Point(me; Index : Integer) returns Pnt2d from gp;
39
40 Parameter(me ; Index : Integer) returns Real from Standard;
41
42 SetOffset(me:in out; OffsetX,OffsetY: Real from Standard);
43
44
45fields
46
47 brise : Array1OfPnt2d from TColgp;
48 param : Array1OfReal from TColStd;
7fd59977 49 offsetx: Real from Standard;
50 offsety: Real from Standard;
51 ferme : Boolean from Standard;
52
53end PolyArc;