OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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 double Scale)
     Constructs a scaling transformation.
    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

    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:

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

    Constructor & Destructor Documentation

    ◆ gce_MakeScale2d()

    gce_MakeScale2d::gce_MakeScale2d ( const gp_Pnt2d & Point,
    const double Scale )

    Constructs a scaling transformation.

    Parameters
    [in]Pointcenter of scaling
    [in]Scalescale factor

    Member Function Documentation

    ◆ Operator()

    gp_Trsf2d gce_MakeScale2d::Operator ( ) const
    inline

    Alias for Value() returning a copy.

    Returns
    resulting transformation

    ◆ operator gp_Trsf2d()

    gce_MakeScale2d::operator gp_Trsf2d ( ) const
    inline

    Conversion operator returning the constructed transformation.

    Returns
    resulting transformation

    ◆ Value()

    const gp_Trsf2d & gce_MakeScale2d::Value ( ) const

    Returns the constructed transformation.

    Returns
    resulting transformation

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