summaryrefslogtreecommitdiff
path: root/src/gce/gce_MakeScale2d.cxx
blob: d9641de54e878f82388cb6db6cec5c1e73b6a287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// File:	gce_MakeScale2d.cxx
// Created:	Thu Sep  3 17:18:54 1992
// Author:	Remi GILET
//		<reg@sdsun1>

#include <gce_MakeScale2d.ixx>

//=========================================================================
//   Creation d un homothetie de gp de centre Point et de rapport Scale.  +
//=========================================================================

gce_MakeScale2d::
  gce_MakeScale2d(const gp_Pnt2d&     Point ,
		  const Standard_Real Scale ) {
  TheScale2d.SetScale(Point,Scale);
}

const gp_Trsf2d& gce_MakeScale2d::Value() const
{ 
  return TheScale2d; 
}

const gp_Trsf2d& gce_MakeScale2d::Operator() const 
{
  return TheScale2d;
}

gce_MakeScale2d::operator gp_Trsf2d() const
{
  return TheScale2d;
}