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>
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:
- defining the construction of the transformation,
- implementing the construction algorithm, and
- consulting the result.
◆ gce_MakeTranslation2d() [1/2]
| gce_MakeTranslation2d::gce_MakeTranslation2d |
( |
const gp_Vec2d & | Vect | ) |
|
Constructs a translation from a vector.
- Parameters
-
| [in] | Vect | translation vector |
◆ gce_MakeTranslation2d() [2/2]
| gce_MakeTranslation2d::gce_MakeTranslation2d |
( |
const gp_Pnt2d & | Point1, |
|
|
const gp_Pnt2d & | Point2 ) |
Constructs a translation from two points.
- Parameters
-
| [in] | Point1 | start point |
| [in] | Point2 | end point |
◆ Operator()
| gp_Trsf2d gce_MakeTranslation2d::Operator |
( |
| ) |
const |
|
inline |
Alias for Value() returning a copy.
- Returns
- resulting transformation
◆ operator gp_Trsf2d()
| gce_MakeTranslation2d::operator gp_Trsf2d |
( |
| ) |
const |
|
inline |
Conversion operator returning the constructed transformation.
- Returns
- resulting transformation
◆ Value()
| const gp_Trsf2d & gce_MakeTranslation2d::Value |
( |
| ) |
const |
Returns the constructed transformation.
- Returns
- resulting transformation
The documentation for this class was generated from the following file: