Integration of OCCT 6.5.0 from SVN
[occt.git] / src / AIS / AIS_EqualRadiusRelation.cdl
CommitLineData
7fd59977 1-- File: AIS_EqualRadiusRelation.cdl
2-- Created: Sat Jan 17 13:42:18 1998
3-- Author: Julia GERASIMOVA
4-- <jgv@orthodox.nnov.matra-dtv.fr>
5---Copyright: Matra Datavision 1998
6
7
8class EqualRadiusRelation from AIS inherits Relation from AIS
9
10 ---Purpose:
11
12uses
13 Edge from TopoDS,
14 Plane from Geom,
15 PresentationManager3d from PrsMgr,
16 Presentation from Prs3d,
17 Projector from Prs3d,
18 Transformation from Geom,
19 PresentationManager2d from PrsMgr,
20 GraphicObject from Graphic2d,
21 Selection from SelectMgr,
22 Pnt from gp
23
24is
25 Create( aFirstEdge : Edge from TopoDS;
26 aSecondEdge : Edge from TopoDS;
27 aPlane : Plane from Geom )
28 ---Purpose: Creates equal relation of two arc's radiuses.
29 -- If one of edges is not in the given plane,
30 -- the presentation method projects it onto the plane.
31 returns mutable EqualRadiusRelation from AIS;
32
33-- Methods from PresentableObject
34
35 Compute( me : mutable;
36 aPresentationManager: PresentationManager3d from PrsMgr;
37 aPresentation : mutable Presentation from Prs3d;
38 aMode : Integer from Standard= 0 )
39 is redefined static private;
40
41 Compute( me : mutable;
42 aProjector : Projector from Prs3d;
43 aPresentation : mutable Presentation from Prs3d )
44 is redefined static private;
45
46 Compute( me : mutable;
47 aPresentationManager : PresentationManager2d from PrsMgr;
48 aPresentation : mutable GraphicObject from Graphic2d;
49 aMode : Integer from Standard = 0 )
50 is redefined static private;
51
52 Compute(me : mutable;
53 aProjector : Projector from Prs3d;
54 aTrsf : Transformation from Geom;
55 aPresentation : mutable Presentation from Prs3d)
56 is redefined;
57 ---Purpose: computes the presentation according to a point of view
58 -- given by <aProjector>.
59 -- To be Used when the associated degenerated Presentations
60 -- have been transformed by <aTrsf> which is not a Pure
61 -- Translation. The HLR Prs can't be deducted automatically
62 -- WARNING :<aTrsf> must be applied
63 -- to the object to display before computation !!!
64
65-- Methods from SelectableObject
66
67 ComputeSelection( me : mutable;
68 aSelection : mutable Selection from SelectMgr;
69 aMode : Integer from Standard)
70 is private;
71
72 ComputeRadiusPosition(me: mutable) is private;
73
74fields
75
76 myFirstCenter : Pnt from gp;
77 mySecondCenter : Pnt from gp;
78 myFirstPoint : Pnt from gp;
79 mySecondPoint : Pnt from gp;
80
81end EqualRadiusRelation;