Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
GC_MakeTranslation Class Reference

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

#include <GC_MakeTranslation.hxx>

Public Member Functions

 GC_MakeTranslation (const gp_Vec &theVect)
 Constructs a translation from a vector.
 
 GC_MakeTranslation (const gp_Pnt &thePoint1, const gp_Pnt &thePoint2)
 Constructs a translation from two points.
 
const occ::handle< Geom_Transformation > & Value () const
 Returns the constructed transformation.
 
 operator const occ::handle< Geom_Transformation > & () const
 Conversion operator returning the constructed object.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ GC_MakeTranslation() [1/2]

GC_MakeTranslation::GC_MakeTranslation ( const gp_Vec & theVect)

Constructs a translation from a vector.

Parameters
[in]theVecttranslation vector

◆ GC_MakeTranslation() [2/2]

GC_MakeTranslation::GC_MakeTranslation ( const gp_Pnt & thePoint1,
const gp_Pnt & thePoint2 )

Constructs a translation from two points.

Parameters
[in]thePoint1start point
[in]thePoint2end point

Member Function Documentation

◆ operator const occ::handle< Geom_Transformation > &()

GC_MakeTranslation::operator const occ::handle< Geom_Transformation > & ( ) const
inline

Conversion operator returning the constructed object.

Returns
resulting object

◆ Value()

const occ::handle< Geom_Transformation > & GC_MakeTranslation::Value ( ) const

Returns the constructed transformation.

Returns
resulting transformation

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