Open CASCADE Technology  7.4.0
Public Member Functions

GCE2d_MakeScale Class Reference

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

#include <GCE2d_MakeScale.hxx>

Public Member Functions

 GCE2d_MakeScale (const gp_Pnt2d &Point, const Standard_Real Scale)
 Constructs a scaling transformation with. More...
 
const Handle< Geom2d_Transformation > & Value () const
 Returns the constructed transformation. More...
 
 operator const Handle< Geom2d_Transformation > & () const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ GCE2d_MakeScale()

GCE2d_MakeScale::GCE2d_MakeScale ( 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 Handle< Geom2d_Transformation > &()

GCE2d_MakeScale::operator const Handle< Geom2d_Transformation > & ( ) const
inline

◆ Value()

const Handle< Geom2d_Transformation >& GCE2d_MakeScale::Value ( ) const

Returns the constructed transformation.


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