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

Implements an elementary construction algorithm for a rotation in 2D space. The result is a gp_Trsf2d transformation. A MakeRotation2d object provides a framework for: More...

#include <gce_MakeRotation2d.hxx>

Public Member Functions

 gce_MakeRotation2d (const gp_Pnt2d &Point, const double Angle)
 Constructs a rotation around a point in 2D.
 
const gp_Trsf2dValue () const
 Returns the constructed transformation.
 
gp_Trsf2d Operator () const
 Alias for Value() returning a copy.
 
 operator gp_Trsf2d () const
 Conversion operator returning the constructed transformation.
 

Detailed Description

Implements an elementary construction algorithm for a rotation in 2D space. The result is a gp_Trsf2d transformation. A MakeRotation2d object provides a framework for:

Constructor & Destructor Documentation

◆ gce_MakeRotation2d()

gce_MakeRotation2d::gce_MakeRotation2d ( const gp_Pnt2d & Point,
const double Angle )

Constructs a rotation around a point in 2D.

Parameters
[in]Pointrotation center
[in]Anglerotation angle in radians

Member Function Documentation

◆ Operator()

gp_Trsf2d gce_MakeRotation2d::Operator ( ) const
inline

Alias for Value() returning a copy.

Returns
resulting transformation

◆ operator gp_Trsf2d()

gce_MakeRotation2d::operator gp_Trsf2d ( ) const
inline

Conversion operator returning the constructed transformation.

Returns
resulting transformation

◆ Value()

const gp_Trsf2d & gce_MakeRotation2d::Value ( ) const

Returns the constructed transformation.

Returns
resulting transformation

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