Open CASCADE Technology  7.2.0
Public Member Functions

gce_MakeScale2d Class Reference

This class implements an elementary construction algorithm for a scaling transformation in 2D space. The result is a gp_Trsf2d transformation. A MakeScale2d object provides a framework for: More...

#include <gce_MakeScale2d.hxx>

Public Member Functions

 gce_MakeScale2d (const gp_Pnt2d &Point, const Standard_Real Scale)
 Constructs a scaling transformation with: More...
 
const gp_Trsf2dValue () const
 Returns the constructed transformation. More...
 
const gp_Trsf2dOperator () const
 
 operator gp_Trsf2d () const
 

Detailed Description

This class implements an elementary construction algorithm for a scaling transformation in 2D space. The result is a gp_Trsf2d transformation. A MakeScale2d object provides a framework for:

Constructor & Destructor Documentation

◆ gce_MakeScale2d()

gce_MakeScale2d::gce_MakeScale2d ( const gp_Pnt2d Point,
const Standard_Real  Scale 
)

Constructs a scaling transformation with:

  • Point as the center of the transformation, and
  • Scale as the scale factor.

Member Function Documentation

◆ Operator()

const gp_Trsf2d& gce_MakeScale2d::Operator ( ) const

◆ operator gp_Trsf2d()

gce_MakeScale2d::operator gp_Trsf2d ( ) const

◆ Value()

const gp_Trsf2d& gce_MakeScale2d::Value ( ) const

Returns the constructed transformation.


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