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_MakeMirror2d Class Reference

    This class implements elementary construction algorithms for a symmetrical transformation in 2D space about a point or axis. The result is a gp_Trsf2d transformation. A MakeMirror2d object provides a framework for: More...

    #include <gce_MakeMirror2d.hxx>

    Public Member Functions

     gce_MakeMirror2d (const gp_Pnt2d &Point)
     Constructs a central symmetry about a point.
     gce_MakeMirror2d (const gp_Ax2d &Axis)
     Constructs an axial symmetry about an axis.
     gce_MakeMirror2d (const gp_Lin2d &Line)
     Constructs an axial symmetry about a line.
     gce_MakeMirror2d (const gp_Pnt2d &Point, const gp_Dir2d &Direc)
     Constructs an axial symmetry about an axis defined by point and direction.
    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 elementary construction algorithms for a symmetrical transformation in 2D space about a point or axis. The result is a gp_Trsf2d transformation. A MakeMirror2d object provides a framework for:

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

    Constructor & Destructor Documentation

    ◆ gce_MakeMirror2d() [1/4]

    gce_MakeMirror2d::gce_MakeMirror2d ( const gp_Pnt2d & Point)

    Constructs a central symmetry about a point.

    Parameters
    [in]Pointcenter point

    ◆ gce_MakeMirror2d() [2/4]

    gce_MakeMirror2d::gce_MakeMirror2d ( const gp_Ax2d & Axis)

    Constructs an axial symmetry about an axis.

    Parameters
    [in]Axismirror axis

    ◆ gce_MakeMirror2d() [3/4]

    gce_MakeMirror2d::gce_MakeMirror2d ( const gp_Lin2d & Line)

    Constructs an axial symmetry about a line.

    Parameters
    [in]Linemirror line

    ◆ gce_MakeMirror2d() [4/4]

    gce_MakeMirror2d::gce_MakeMirror2d ( const gp_Pnt2d & Point,
    const gp_Dir2d & Direc )

    Constructs an axial symmetry about an axis defined by point and direction.

    Parameters
    [in]Pointpoint on the axis
    [in]Direcaxis direction

    Member Function Documentation

    ◆ Operator()

    gp_Trsf2d gce_MakeMirror2d::Operator ( ) const
    inline

    Alias for Value() returning a copy.

    Returns
    resulting transformation

    ◆ operator gp_Trsf2d()

    gce_MakeMirror2d::operator gp_Trsf2d ( ) const
    inline

    Conversion operator returning the constructed transformation.

    Returns
    resulting transformation

    ◆ Value()

    const gp_Trsf2d & gce_MakeMirror2d::Value ( ) const

    Returns the constructed transformation.

    Returns
    resulting transformation

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