0022312: Translation of french commentaries in OCCT files
[occt.git] / src / GC / GC_MakeScale.cxx
1 // File:        GC_MakeScale.cxx
2 // Created:     Fri Oct  2 16:37:41 1992
3 // Author:      Remi GILET
4 //              <reg@topsn3>
5
6 #include <GC_MakeScale.ixx>
7 #include <GC_MakeScale.hxx>
8 #include <StdFail_NotDone.hxx>
9
10 //=========================================================================
11 //   Creation d un homothetie de gp de centre Point et de rapport Scale.  +
12 //=========================================================================
13
14 GC_MakeScale::GC_MakeScale(const gp_Pnt&  Point ,
15                              const Standard_Real     Scale ) {
16   TheScale = new Geom_Transformation();
17   TheScale->SetScale(Point,Scale);
18 }
19
20 const Handle(Geom_Transformation)& GC_MakeScale::Value() const
21
22   return TheScale;
23 }
24
25 const Handle(Geom_Transformation)& GC_MakeScale::Operator() const 
26 {
27   return TheScale;
28 }
29
30 GC_MakeScale::operator Handle(Geom_Transformation) () const
31 {
32   return TheScale;
33 }
34