1 // File: gce_MakeMirror2d.cxx
2 // Created: Fri Sep 4 10:56:35 1992
6 #include <gce_MakeMirror2d.ixx>
8 //=========================================================================
9 // Creation d une symetrie 2d de gp par rapport a un point. +
10 //=========================================================================
12 gce_MakeMirror2d::gce_MakeMirror2d(const gp_Pnt2d& Point )
14 TheMirror2d.SetMirror(Point);
17 //=========================================================================
18 // Creation d une symetrie 2d de gp par rapport a une droite. +
19 //=========================================================================
21 gce_MakeMirror2d::gce_MakeMirror2d(const gp_Ax2d& Axis )
23 TheMirror2d.SetMirror(Axis);
26 //=========================================================================
27 // Creation d une symetrie 2d de gp par rapport a une droite. +
28 //=========================================================================
30 gce_MakeMirror2d::gce_MakeMirror2d(const gp_Lin2d& Line )
32 TheMirror2d.SetMirror(gp_Ax2d(Line.Location(),Line.Direction()));
35 //=========================================================================
36 // Creation d une symetrie 2d de gp par rapport a une droite definie +
37 // par un point et une direction. +
38 //=========================================================================
40 gce_MakeMirror2d::gce_MakeMirror2d(const gp_Pnt2d& Point ,
41 const gp_Dir2d& Direc )
43 TheMirror2d.SetMirror(gp_Ax2d(Point,Direc));
46 const gp_Trsf2d& gce_MakeMirror2d::Value() const
51 const gp_Trsf2d& gce_MakeMirror2d::Operator() const
56 gce_MakeMirror2d::operator gp_Trsf2d() const