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

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

#include <GC_MakeTranslation2d.hxx>

Public Member Functions

 GC_MakeTranslation2d (const gp_Vec2d &theVect)
 Constructs a translation along a vector.
 
 GC_MakeTranslation2d (const gp_Pnt2d &thePoint1, const gp_Pnt2d &thePoint2)
 Constructs a translation along the vector from one point to another.
 
const occ::handle< Geom2d_Transformation > & Value () const
 Returns the constructed transformation.
 
 operator const occ::handle< Geom2d_Transformation > & () const
 Conversion operator returning the constructed object.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ GC_MakeTranslation2d() [1/2]

GC_MakeTranslation2d::GC_MakeTranslation2d ( const gp_Vec2d & theVect)

Constructs a translation along a vector.

Parameters
[in]theVecttranslation vector

◆ GC_MakeTranslation2d() [2/2]

GC_MakeTranslation2d::GC_MakeTranslation2d ( const gp_Pnt2d & thePoint1,
const gp_Pnt2d & thePoint2 )

Constructs a translation along the vector from one point to another.

Parameters
[in]thePoint1first point
[in]thePoint2second point

Member Function Documentation

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

GC_MakeTranslation2d::operator const occ::handle< Geom2d_Transformation > & ( ) const
inline

Conversion operator returning the constructed object.

Returns
resulting transformation

◆ Value()

const occ::handle< Geom2d_Transformation > & GC_MakeTranslation2d::Value ( ) const

Returns the constructed transformation.

Returns
resulting transformation

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