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

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

GC_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 Handle< Geom_Transformation > & Value () const
Returns the constructed transformation. More...

operator const Handle< Geom_Transformation > & () const

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

• defining the construction of the transformation,
• implementing the construction algorithm, and
• consulting the result.

## Constructor & Destructor Documentation

 GC_MakeRotation::GC_MakeRotation ( const gp_Lin & Line, const Standard_Real Angle )

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

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

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

 GC_MakeRotation::GC_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.

## Member Function Documentation

 GC_MakeRotation::operator const Handle< Geom_Transformation > & ( ) const
inline
 const Handle< Geom_Transformation >& GC_MakeRotation::Value ( ) const

Returns the constructed transformation.

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