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

    This class provides options closure management. More...

    #include <TDF_ClosureMode.hxx>

    Public Member Functions

     TDF_ClosureMode (const bool aMode=true)
     Creates an object with all modes set to <aMode>.
    void Descendants (const bool aStatus)
     Sets the mode "Descendants" to <aStatus>.
    bool Descendants () const
     Returns true if the mode "Descendants" is set.
    void References (const bool aStatus)
     Sets the mode "References" to <aStatus>.
    bool References () const
     Returns true if the mode "References" is set.

    Detailed Description

    This class provides options closure management.

    Constructor & Destructor Documentation

    ◆ TDF_ClosureMode()

    TDF_ClosureMode::TDF_ClosureMode ( const bool aMode = true)

    Creates an object with all modes set to <aMode>.

    Member Function Documentation

    ◆ Descendants() [1/2]

    bool TDF_ClosureMode::Descendants ( ) const

    Returns true if the mode "Descendants" is set.

    ◆ Descendants() [2/2]

    void TDF_ClosureMode::Descendants ( const bool aStatus)

    Sets the mode "Descendants" to <aStatus>.

    "Descendants" mode means we add to the data set the children labels of each USER GIVEN label. We do not do that with the labels found applying UpToFirstLevel option.

    ◆ References() [1/2]

    bool TDF_ClosureMode::References ( ) const

    Returns true if the mode "References" is set.

    ◆ References() [2/2]

    void TDF_ClosureMode::References ( const bool aStatus)

    Sets the mode "References" to <aStatus>.

    "References" mode means we add to the data set the descendants of an attribute, by calling the attribute method Descendants().


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