1 // File: gce_MakeTranslation.cxx
2 // Created: Thu Sep 3 17:18:54 1992
6 #include <gce_MakeTranslation.ixx>
8 //=========================================================================
9 // Creation d une translation 3d de gp de vecteur de tanslation Vec. +
10 //=========================================================================
13 gce_MakeTranslation(const gp_Vec& Vec ) {
14 TheTranslation.SetTranslation(Vec);
17 //=========================================================================
18 // Creation d une translation 3d de gp de vecteur de tanslation le +
19 // vecteur reliant Point1 a Point2. +
20 //=========================================================================
23 gce_MakeTranslation(const gp_Pnt& Point1 ,
24 const gp_Pnt& Point2 ) {
25 TheTranslation.SetTranslation(gp_Vec(Point1,Point2));
28 const gp_Trsf& gce_MakeTranslation::Value() const
30 return TheTranslation;
33 const gp_Trsf& gce_MakeTranslation::Operator() const
35 return TheTranslation;
38 gce_MakeTranslation::operator gp_Trsf() const
40 return TheTranslation;