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