This class implements elementary construction algorithms for a rotation in 3D space. The result is a gp_Trsf transformation. A MakeRotation object provides a framework for:
More...
#include <gce_MakeRotation.hxx>
This class implements elementary construction algorithms for a rotation in 3D space. The result is a gp_Trsf transformation. A MakeRotation object provides a framework for:
- defining the construction of the transformation,
- implementing the construction algorithm, and
- consulting the result.
◆ gce_MakeRotation() [1/3]
| gce_MakeRotation::gce_MakeRotation |
( |
const gp_Lin & | Line, |
|
|
const double | Angle ) |
Constructs a rotation around the axis defined by a line.
- Parameters
-
| [in] | Line | rotation axis |
| [in] | Angle | rotation angle in radians |
◆ gce_MakeRotation() [2/3]
| gce_MakeRotation::gce_MakeRotation |
( |
const gp_Ax1 & | Axis, |
|
|
const double | Angle ) |
Constructs a rotation around an axis.
- Parameters
-
| [in] | Axis | rotation axis |
| [in] | Angle | rotation angle in radians |
◆ gce_MakeRotation() [3/3]
| gce_MakeRotation::gce_MakeRotation |
( |
const gp_Pnt & | Point, |
|
|
const gp_Dir & | Direc, |
|
|
const double | Angle ) |
Constructs a rotation around an axis defined by point and direction.
- Parameters
-
| [in] | Point | point on the axis |
| [in] | Direc | axis direction |
| [in] | Angle | rotation angle in radians |
◆ Operator()
| gp_Trsf gce_MakeRotation::Operator |
( |
| ) |
const |
|
inline |
Alias for Value() returning a copy.
- Returns
- resulting transformation
◆ operator gp_Trsf()
| gce_MakeRotation::operator gp_Trsf |
( |
| ) |
const |
|
inline |
Conversion operator returning the constructed transformation.
- Returns
- resulting transformation
◆ Value()
| const gp_Trsf & gce_MakeRotation::Value |
( |
| ) |
const |
Returns the constructed transformation.
- Returns
- resulting transformation
The documentation for this class was generated from the following file: