Open CASCADE Technology  7.5.0
Public Member Functions
gce_MakeTranslation2d Class Reference

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

#include <gce_MakeTranslation2d.hxx>

Public Member Functions

 gce_MakeTranslation2d (const gp_Vec2d &Vect)
 Constructs a translation along the vector Vect. More...
 
 gce_MakeTranslation2d (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 gp_Trsf2dValue () const
 Returns the constructed transformation. More...
 
const gp_Trsf2dOperator () const
 
 operator gp_Trsf2d () const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ gce_MakeTranslation2d() [1/2]

gce_MakeTranslation2d::gce_MakeTranslation2d ( const gp_Vec2d Vect)

Constructs a translation along the vector Vect.

◆ gce_MakeTranslation2d() [2/2]

gce_MakeTranslation2d::gce_MakeTranslation2d ( 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

◆ Operator()

const gp_Trsf2d& gce_MakeTranslation2d::Operator ( ) const

◆ operator gp_Trsf2d()

gce_MakeTranslation2d::operator gp_Trsf2d ( ) const

◆ Value()

const gp_Trsf2d& gce_MakeTranslation2d::Value ( ) const

Returns the constructed transformation.


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