OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    ProjLib_Projector Class Reference

    Root class for projection algorithms, stores the result. More...

    #include <ProjLib_Projector.hxx>

    Inheritance diagram for ProjLib_Projector:

    Public Member Functions

     ProjLib_Projector ()
     Sets the type to OtherCurve.
    virtual ~ProjLib_Projector ()
    bool IsDone () const
    void Done ()
     Set isDone = true;.
    GeomAbs_CurveType GetType () const
    void SetBSpline (const occ::handle< Geom2d_BSplineCurve > &C)
    void SetBezier (const occ::handle< Geom2d_BezierCurve > &C)
    void SetType (const GeomAbs_CurveType Type)
    bool IsPeriodic () const
    void SetPeriodic ()
    const gp_Lin2d & Line () const
    const gp_Circ2d & Circle () const
    const gp_Elips2d & Ellipse () const
    const gp_Hypr2d & Hyperbola () const
    const gp_Parab2d & Parabola () const
    occ::handle< Geom2d_BezierCurve > Bezier () const
    occ::handle< Geom2d_BSplineCurve > BSpline () const
    virtual void Project (const gp_Lin &L)
    virtual void Project (const gp_Circ &C)
    virtual void Project (const gp_Elips &E)
    virtual void Project (const gp_Parab &P)
    virtual void Project (const gp_Hypr &H)
    void UFrame (const double CFirst, const double CLast, const double UFirst, const double Period)
     Translates the 2d curve to set the part of the curve [CFirst, CLast] in the range [ UFirst, UFirst + Period [.
    void VFrame (const double CFirst, const double CLast, const double VFirst, const double Period)
     Translates the 2d curve to set the part of the curve [CFirst, CLast] in the range [ VFirst, VFirst + Period [.

    Protected Attributes

    GeomAbs_CurveType myType
    gp_Lin2d myLin
    gp_Circ2d myCirc
    gp_Elips2d myElips
    gp_Hypr2d myHypr
    gp_Parab2d myParab
    occ::handle< Geom2d_BSplineCurve > myBSpline
    occ::handle< Geom2d_BezierCurve > myBezier
    bool myIsPeriodic
    bool isDone

    Detailed Description

    Root class for projection algorithms, stores the result.

    Constructor & Destructor Documentation

    ◆ ProjLib_Projector()

    ProjLib_Projector::ProjLib_Projector ( )

    Sets the type to OtherCurve.

    ◆ ~ProjLib_Projector()

    virtual ProjLib_Projector::~ProjLib_Projector ( )
    virtual

    Member Function Documentation

    ◆ Bezier()

    occ::handle< Geom2d_BezierCurve > ProjLib_Projector::Bezier ( ) const

    ◆ BSpline()

    occ::handle< Geom2d_BSplineCurve > ProjLib_Projector::BSpline ( ) const

    ◆ Circle()

    const gp_Circ2d & ProjLib_Projector::Circle ( ) const

    ◆ Done()

    void ProjLib_Projector::Done ( )

    Set isDone = true;.

    ◆ Ellipse()

    const gp_Elips2d & ProjLib_Projector::Ellipse ( ) const

    ◆ GetType()

    GeomAbs_CurveType ProjLib_Projector::GetType ( ) const

    ◆ Hyperbola()

    const gp_Hypr2d & ProjLib_Projector::Hyperbola ( ) const

    ◆ IsDone()

    bool ProjLib_Projector::IsDone ( ) const

    ◆ IsPeriodic()

    bool ProjLib_Projector::IsPeriodic ( ) const

    ◆ Line()

    const gp_Lin2d & ProjLib_Projector::Line ( ) const

    ◆ Parabola()

    const gp_Parab2d & ProjLib_Projector::Parabola ( ) const

    ◆ Project() [1/5]

    virtual void ProjLib_Projector::Project ( const gp_Circ & C)
    virtual

    ◆ Project() [2/5]

    virtual void ProjLib_Projector::Project ( const gp_Elips & E)
    virtual

    ◆ Project() [3/5]

    virtual void ProjLib_Projector::Project ( const gp_Hypr & H)
    virtual

    ◆ Project() [4/5]

    virtual void ProjLib_Projector::Project ( const gp_Lin & L)
    virtual

    ◆ Project() [5/5]

    virtual void ProjLib_Projector::Project ( const gp_Parab & P)
    virtual

    ◆ SetBezier()

    void ProjLib_Projector::SetBezier ( const occ::handle< Geom2d_BezierCurve > & C)

    ◆ SetBSpline()

    void ProjLib_Projector::SetBSpline ( const occ::handle< Geom2d_BSplineCurve > & C)

    ◆ SetPeriodic()

    void ProjLib_Projector::SetPeriodic ( )

    ◆ SetType()

    void ProjLib_Projector::SetType ( const GeomAbs_CurveType Type)

    ◆ UFrame()

    void ProjLib_Projector::UFrame ( const double CFirst,
    const double CLast,
    const double UFirst,
    const double Period )

    Translates the 2d curve to set the part of the curve [CFirst, CLast] in the range [ UFirst, UFirst + Period [.

    ◆ VFrame()

    void ProjLib_Projector::VFrame ( const double CFirst,
    const double CLast,
    const double VFirst,
    const double Period )

    Translates the 2d curve to set the part of the curve [CFirst, CLast] in the range [ VFirst, VFirst + Period [.

    Field Documentation

    ◆ isDone

    bool ProjLib_Projector::isDone
    protected

    ◆ myBezier

    occ::handle<Geom2d_BezierCurve> ProjLib_Projector::myBezier
    protected

    ◆ myBSpline

    occ::handle<Geom2d_BSplineCurve> ProjLib_Projector::myBSpline
    protected

    ◆ myCirc

    gp_Circ2d ProjLib_Projector::myCirc
    protected

    ◆ myElips

    gp_Elips2d ProjLib_Projector::myElips
    protected

    ◆ myHypr

    gp_Hypr2d ProjLib_Projector::myHypr
    protected

    ◆ myIsPeriodic

    bool ProjLib_Projector::myIsPeriodic
    protected

    ◆ myLin

    gp_Lin2d ProjLib_Projector::myLin
    protected

    ◆ myParab

    gp_Parab2d ProjLib_Projector::myParab
    protected

    ◆ myType

    GeomAbs_CurveType ProjLib_Projector::myType
    protected

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