summaryrefslogtreecommitdiff
path: root/src/gce/gce_MakeScale.cxx
blob: f87646ec07a16e5402c6df71f09632c8684a0a26 (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_MakeScale.cxx
// Created:	Fri Sep  4 14:28:10 1992
// Author:	Remi GILET
//		<reg@sdsun1>

#include <gce_MakeScale.ixx>

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

gce_MakeScale::
  gce_MakeScale(const gp_Pnt&       Point ,
		const Standard_Real Scale ) {
   TheScale.SetScale(Point,Scale);
 }

const gp_Trsf& gce_MakeScale::Value() const
{ 
  return TheScale; 
}

const gp_Trsf& gce_MakeScale::Operator() const 
{
  return TheScale;
}

gce_MakeScale::operator gp_Trsf() const
{
  return TheScale;
}