OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Poly_CoherentTriPtr::Iterator Class Reference

    #include <Poly_CoherentTriPtr.hxx>

    Public Member Functions

     Iterator ()
     Empty constructor.
     Iterator (const Poly_CoherentTriPtr &thePtr)
     Constructor.
    const Poly_CoherentTriangle * First () const
     Query the triangle that started the current iteration.
    bool More () const
     Query if there is available triangle pointer on this iteration.
    void Next ()
     Go to the next iteration.
    const Poly_CoherentTriangle & Value () const
     Get the current iterated triangle.
    Poly_CoherentTriangle & ChangeValue () const
     Get the current iterated triangle (mutable).
    const Poly_CoherentTriPtr & PtrValue () const
     Get the current iterated pointer to triangle.

    Detailed Description

    Iterator class for this list of triangles. Because the list is round, an iteration can be started from any member and it finishes before taking this member again. The iteration sense is always forward (Next).

    Constructor & Destructor Documentation

    ◆ Iterator() [1/2]

    Poly_CoherentTriPtr::Iterator::Iterator ( )
    inline

    Empty constructor.

    ◆ Iterator() [2/2]

    Poly_CoherentTriPtr::Iterator::Iterator ( const Poly_CoherentTriPtr & thePtr)
    inline

    Constructor.

    Member Function Documentation

    ◆ ChangeValue()

    Poly_CoherentTriangle & Poly_CoherentTriPtr::Iterator::ChangeValue ( ) const
    inline

    Get the current iterated triangle (mutable).

    ◆ First()

    const Poly_CoherentTriangle * Poly_CoherentTriPtr::Iterator::First ( ) const
    inline

    Query the triangle that started the current iteration.

    ◆ More()

    bool Poly_CoherentTriPtr::Iterator::More ( ) const
    inline

    Query if there is available triangle pointer on this iteration.

    ◆ Next()

    void Poly_CoherentTriPtr::Iterator::Next ( )

    Go to the next iteration.

    ◆ PtrValue()

    const Poly_CoherentTriPtr & Poly_CoherentTriPtr::Iterator::PtrValue ( ) const
    inline

    Get the current iterated pointer to triangle.

    ◆ Value()

    const Poly_CoherentTriangle & Poly_CoherentTriPtr::Iterator::Value ( ) const
    inline

    Get the current iterated triangle.


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