Open CASCADE Technology  7.7.0.dev

# 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 Standard_Real Angle)
Constructs a rotation through angle Angle about the axis defined by the line Line. More...

gce_MakeRotation (const gp_Ax1 &Axis, const Standard_Real Angle)
Constructs a rotation through angle Angle about the axis defined by the axis Axis. More...

gce_MakeRotation (const gp_Pnt &Point, const gp_Dir &Direc, const Standard_Real Angle)
Constructs a rotation through angle Angle about the axis defined by: the point Point and the unit vector Direc. More...

const gp_TrsfValue () const
Returns the constructed transformation. More...

const gp_TrsfOperator () const

operator gp_Trsf () const

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

• 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 Standard_Real Angle )

Constructs a rotation through angle Angle about the axis defined by the line Line.

## ◆ gce_MakeRotation() [2/3]

 gce_MakeRotation::gce_MakeRotation ( const gp_Ax1 & Axis, const Standard_Real Angle )

Constructs a rotation through angle Angle about the axis defined by the axis Axis.

## ◆ gce_MakeRotation() [3/3]

 gce_MakeRotation::gce_MakeRotation ( const gp_Pnt & Point, const gp_Dir & Direc, const Standard_Real Angle )

Constructs a rotation through angle Angle about the axis defined by: the point Point and the unit vector Direc.

## ◆ Operator()

 const gp_Trsf& gce_MakeRotation::Operator ( ) const

## ◆ operator gp_Trsf()

 gce_MakeRotation::operator gp_Trsf ( ) const

## ◆ Value()

 const gp_Trsf& gce_MakeRotation::Value ( ) const

Returns the constructed transformation.

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