Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
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 from a vector.
 
 gce_MakeTranslation (const gp_Pnt &Point1, const gp_Pnt &Point2)
 Constructs a translation from two points.
 
const gp_TrsfValue () const
 Returns the constructed transformation.
 
gp_Trsf Operator () const
 Alias for Value() returning a copy.
 
 operator gp_Trsf () const
 Conversion operator returning the constructed transformation.
 

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:

Constructor & Destructor Documentation

◆ gce_MakeTranslation() [1/2]

gce_MakeTranslation::gce_MakeTranslation ( const gp_Vec & Vect)

Constructs a translation from a vector.

Parameters
[in]Vecttranslation vector

◆ gce_MakeTranslation() [2/2]

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

Constructs a translation from two points.

Parameters
[in]Point1start point
[in]Point2end point

Member Function Documentation

◆ Operator()

gp_Trsf gce_MakeTranslation::Operator ( ) const
inline

Alias for Value() returning a copy.

Returns
resulting transformation

◆ operator gp_Trsf()

gce_MakeTranslation::operator gp_Trsf ( ) const
inline

Conversion operator returning the constructed transformation.

Returns
resulting transformation

◆ Value()

const gp_Trsf & gce_MakeTranslation::Value ( ) const

Returns the constructed transformation.

Returns
resulting transformation

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