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

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>

Public Member Functions

 gce_MakeRotation (const gp_Lin &Line, const double Angle)
 Constructs a rotation around the axis defined by a line.
 
 gce_MakeRotation (const gp_Ax1 &Axis, const double Angle)
 Constructs a rotation around an axis.
 
 gce_MakeRotation (const gp_Pnt &Point, const gp_Dir &Direc, const double Angle)
 Constructs a rotation around an axis defined by point and direction.
 
const gp_TrsfValue () const
 Returns the constructed transformation.
 
gp_Trsf Operator () const
 Alias for Value() returning a copy.
 
 operator gp_Trsf () const
 Conversion operator returning the constructed transformation.
 

Detailed Description

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:

Constructor & Destructor Documentation

◆ 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]Linerotation axis
[in]Anglerotation 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]Axisrotation axis
[in]Anglerotation 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]Pointpoint on the axis
[in]Direcaxis direction
[in]Anglerotation angle in radians

Member Function Documentation

◆ 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: