Open CASCADE Technology 7.8.2.dev
GC_MakeScale Class Reference

This class implements an elementary construction algorithm for a scaling transformation in 3D space. The result is a Geom_Transformation transformation (a scaling transformation with the center point <Point> and the scaling value <Scale>). A MakeScale object provides a framework for: More...

#include <GC_MakeScale.hxx>

Public Member Functions

 GC_MakeScale (const gp_Pnt &Point, const Standard_Real Scale)
 Constructs a scaling transformation with.
 
const Handle< Geom_Transformation > & Value () const
 Returns the constructed transformation.
 
 operator const Handle< Geom_Transformation > & () const
 

Detailed Description

This class implements an elementary construction algorithm for a scaling transformation in 3D space. The result is a Geom_Transformation transformation (a scaling transformation with the center point <Point> and the scaling value <Scale>). A MakeScale object provides a framework for:

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

Constructor & Destructor Documentation

◆ GC_MakeScale()

GC_MakeScale::GC_MakeScale ( const gp_Pnt & 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< Geom_Transformation > &()

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

◆ Value()

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

Returns the constructed transformation.


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