Open CASCADE Technology 7.8.2.dev
gce_MakeTranslation Class Reference

This class implements elementary construction algorithms for a translation in 3D space. The result is a gp_Trsf transformation. A MakeTranslation object provides a framework for: More...

#include <gce_MakeTranslation.hxx>

Public Member Functions

 gce_MakeTranslation (const gp_Vec &Vect)
 Constructs a translation along the vector " Vect".
 
 gce_MakeTranslation (const gp_Pnt &Point1, const gp_Pnt &Point2)
 Constructs a translation along the vector (Point1,Point2) defined from the point Point1 to the point Point2.
 
const gp_TrsfValue () const
 Returns the constructed transformation.
 
const gp_TrsfOperator () const
 
 operator gp_Trsf () const
 

Detailed Description

This class implements elementary construction algorithms for a translation in 3D space. The result is a gp_Trsf transformation. A MakeTranslation object provides a framework for:

  • defining the construction of the transformation,
  • implementing the construction algorithm, and
  • consulting the result.

Constructor & Destructor Documentation

◆ gce_MakeTranslation() [1/2]

gce_MakeTranslation::gce_MakeTranslation ( const gp_Vec & Vect)

Constructs a translation along the vector " Vect".

◆ gce_MakeTranslation() [2/2]

gce_MakeTranslation::gce_MakeTranslation ( const gp_Pnt & Point1,
const gp_Pnt & Point2 )

Constructs a translation along the vector (Point1,Point2) defined from the point Point1 to the point Point2.

Member Function Documentation

◆ Operator()

const gp_Trsf & gce_MakeTranslation::Operator ( ) const

◆ operator gp_Trsf()

gce_MakeTranslation::operator gp_Trsf ( ) const

◆ Value()

const gp_Trsf & gce_MakeTranslation::Value ( ) const

Returns the constructed transformation.


The documentation for this class was generated from the following file: