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
    Graphic3d_BufferRange Struct Reference

    Range of values defined as Start + Length pair. More...

    #include <Graphic3d_BufferRange.hxx>

    Public Member Functions

     Graphic3d_BufferRange ()
     Empty constructor.
     Graphic3d_BufferRange (int theStart, int theLength)
     Constructor.
    bool IsEmpty () const
     Return TRUE if range is empty.
    int Upper () const
     Return the Upper element within the range.
    void Clear ()
     Clear the range.
    void Unite (const Graphic3d_BufferRange &theRange)
     Add another range to this one.

    Data Fields

    int Start
     first element within the range
    int Length
     number of elements within the range

    Detailed Description

    Range of values defined as Start + Length pair.

    Constructor & Destructor Documentation

    ◆ Graphic3d_BufferRange() [1/2]

    Graphic3d_BufferRange::Graphic3d_BufferRange ( )
    inline

    Empty constructor.

    ◆ Graphic3d_BufferRange() [2/2]

    Graphic3d_BufferRange::Graphic3d_BufferRange ( int theStart,
    int theLength )
    inline

    Constructor.

    Member Function Documentation

    ◆ Clear()

    void Graphic3d_BufferRange::Clear ( )
    inline

    Clear the range.

    ◆ IsEmpty()

    bool Graphic3d_BufferRange::IsEmpty ( ) const
    inline

    Return TRUE if range is empty.

    ◆ Unite()

    void Graphic3d_BufferRange::Unite ( const Graphic3d_BufferRange & theRange)
    inline

    Add another range to this one.

    ◆ Upper()

    int Graphic3d_BufferRange::Upper ( ) const
    inline

    Return the Upper element within the range.

    Field Documentation

    ◆ Length

    int Graphic3d_BufferRange::Length

    number of elements within the range

    ◆ Start

    int Graphic3d_BufferRange::Start

    first element within the range


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