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>
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:
- defining the transformation parameters;
- running the construction algorithm;
- querying the resulting transformation via
Value().
◆ GC_MakeTranslation2d() [1/2]
| GC_MakeTranslation2d::GC_MakeTranslation2d |
( |
const gp_Vec2d & | theVect | ) |
|
Constructs a translation along a vector.
- Parameters
-
| [in] | theVect | translation 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] | thePoint1 | first point |
| [in] | thePoint2 | second point |
◆ operator const occ::handle< Geom2d_Transformation > &()
Conversion operator returning the constructed object.
- Returns
- resulting transformation
◆ Value()
Returns the constructed transformation.
- Returns
- resulting transformation
The documentation for this class was generated from the following file: