Open CASCADE Technology  7.1.0.beta
Public Member Functions

GCE2d_MakeTranslation Class Reference

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

#include <GCE2d_MakeTranslation.hxx>

Public Member Functions

 GCE2d_MakeTranslation (const gp_Vec2d &Vect)
 Constructs a translation along the vector Vect. More...
 
 GCE2d_MakeTranslation (const gp_Pnt2d &Point1, const gp_Pnt2d &Point2)
 Constructs a translation along the vector (Point1,Point2) defined from the point Point1 to the point Point2. More...
 
const Handle< Geom2d_Transformation > & Value () const
 Returns the constructed transformation. More...
 
 operator const Handle< Geom2d_Transformation > & () const
 

Detailed Description

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

Constructor & Destructor Documentation

GCE2d_MakeTranslation::GCE2d_MakeTranslation ( const gp_Vec2d Vect)

Constructs a translation along the vector Vect.

GCE2d_MakeTranslation::GCE2d_MakeTranslation ( const gp_Pnt2d Point1,
const gp_Pnt2d Point2 
)

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

Member Function Documentation

GCE2d_MakeTranslation::operator const Handle< Geom2d_Transformation > & ( ) const
inline
const Handle< Geom2d_Transformation >& GCE2d_MakeTranslation::Value ( ) const

Returns the constructed transformation.


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