Open CASCADE Technology 7.8.2.dev
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 Standard_Real Angle)
 Constructs a rotation through angle Angle about the center Point.
 
const gp_Trsf2dValue () const
 Returns the constructed transformation.
 
const gp_Trsf2dOperator () const
 
 operator gp_Trsf2d () const
 

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:

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

Constructor & Destructor Documentation

◆ gce_MakeRotation2d()

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

Constructs a rotation through angle Angle about the center Point.

Member Function Documentation

◆ Operator()

const gp_Trsf2d & gce_MakeRotation2d::Operator ( ) const

◆ operator gp_Trsf2d()

gce_MakeRotation2d::operator gp_Trsf2d ( ) const

◆ Value()

const gp_Trsf2d & gce_MakeRotation2d::Value ( ) const

Returns the constructed transformation.


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