Open CASCADE Technology  7.2.0
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 &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:

Constructor & Destructor Documentation

◆ GC_MakeRotation() [1/3]

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() [2/3]

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() [3/3]

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

◆ operator const Handle< Geom_Transformation > &()

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

◆ Value()

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

Returns the constructed transformation.


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