0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git] / src / GC / GC_MakeMirror.cdl
1 -- File:        MakeMirror.cdl
2 -- Created:     Mon Sep 28 11:52:47 1992
3 -- Author:      Remi GILET
4 --              <reg@sdsun2>
5 ---Copyright:    Matra Datavision 1992
6
7 class MakeMirror
8
9 from GC
10
11     ---Purpose: This class implements elementary construction algorithms for a
12     -- symmetrical transformation in 3D space about a point,
13     -- axis or plane. The result is a Geom_Transformation transformation.
14     -- A MakeMirror object provides a framework for:
15     -- -   defining the construction of the transformation,
16     -- -   implementing the construction algorithm, and
17     -- -   consulting the result.
18
19 uses Pnt            from gp,
20      Ax1            from gp,
21      Ax2            from gp,
22      Dir            from gp,
23      Pln            from gp,
24      Lin            from gp,
25      Transformation from Geom,
26      Real           from Standard
27      
28 is
29
30 Create(Point : Pnt from gp) returns MakeMirror;
31     ---Puprose: Make a symetry transformation of center <Point>.
32
33 Create(Axis : Ax1 from gp) returns MakeMirror;
34     ---Puprose: Make a symetry transformation of axis <Axis>.
35
36 Create(Line : Lin from gp) returns MakeMirror;
37     ---Puprose: Make a symetry transformation of axis <Line>.
38
39 Create(Point : Pnt from gp;
40        Direc : Dir from gp) returns MakeMirror;
41     ---Purpose: Make a symetry transformation af axis defined by 
42     --          <Point> and <Direc>.
43
44 Create(Plane : Pln from gp) returns MakeMirror;
45     ---Purpose: Make a symetry transformation of plane <Plane>.
46
47 Create(Plane : Ax2 from gp) returns MakeMirror;
48     ---Purpose: Make a symetry transformation of plane <Plane>.
49
50 Value(me) returns Transformation from Geom
51     is static;
52     ---Purpose: Returns the constructed transformation.
53     ---C++: return const&
54
55 Operator(me) returns Transformation from Geom
56     is static;
57     ---C++: return const&
58     ---C++: alias "Standard_EXPORT operator Handle_Geom_Transformation() const;"
59
60 fields
61
62     TheMirror : Transformation from Geom;
63
64 end MakeMirror;
65