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

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>

Public Member Functions

 GC_MakeRotation (const gp_Lin &theLine, const double theAngle)
 Constructs a rotation around the axis defined by a line.
 
 GC_MakeRotation (const gp_Ax1 &theAxis, const double theAngle)
 Constructs a rotation around an axis.
 
 GC_MakeRotation (const gp_Pnt &thePoint, const gp_Dir &theDirec, const double theAngle)
 Constructs a rotation around an axis defined by point and direction.
 
const occ::handle< Geom_Transformation > & Value () const
 Returns the constructed transformation.
 
 operator const occ::handle< Geom_Transformation > & () const
 Conversion operator returning the constructed object.
 

Detailed Description

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:

Constructor & Destructor Documentation

◆ 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]theLinerotation axis
[in]theAnglerotation 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]theAxisrotation axis
[in]theAnglerotation 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]thePointpoint on the axis
[in]theDirecaxis direction
[in]theAnglerotation angle in radians

Member Function Documentation

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

GC_MakeRotation::operator const occ::handle< Geom_Transformation > & ( ) const
inline

Conversion operator returning the constructed object.

Returns
resulting object

◆ Value()

const occ::handle< Geom_Transformation > & GC_MakeRotation::Value ( ) const

Returns the constructed transformation.

Returns
resulting transformation

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