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

    This class provides services to build the closure of an information set. This class gives services around the transitive enclosure of a set of information, starting from a list of label. You can set closure options by using IDFilter (to select or exclude specific attribute IDs) and CopyOption objects and by giving to Closure method. More...

    #include <TDF_ClosureTool.hxx>

    Static Public Member Functions

    static void Closure (const occ::handle< TDF_DataSet > &aDataSet)
     Builds the transitive closure of label and attribute sets into <aDataSet>.
    static void Closure (const occ::handle< TDF_DataSet > &aDataSet, const TDF_IDFilter &aFilter, const TDF_ClosureMode &aMode)
     Builds the transitive closure of label and attribute sets into <aDataSet>. Uses <aFilter> to determine if an attribute has to be taken in account or not. Uses <aMode> for various way of closing.
    static void Closure (const TDF_Label &aLabel, NCollection_Map< TDF_Label > &aLabMap, NCollection_Map< occ::handle< TDF_Attribute > > &anAttMap, const TDF_IDFilter &aFilter, const TDF_ClosureMode &aMode)
     Builds the transitive closure of <aLabel>.

    Detailed Description

    This class provides services to build the closure of an information set. This class gives services around the transitive enclosure of a set of information, starting from a list of label. You can set closure options by using IDFilter (to select or exclude specific attribute IDs) and CopyOption objects and by giving to Closure method.

    Member Function Documentation

    ◆ Closure() [1/3]

    void TDF_ClosureTool::Closure ( const occ::handle< TDF_DataSet > & aDataSet)
    static

    Builds the transitive closure of label and attribute sets into <aDataSet>.

    ◆ Closure() [2/3]

    void TDF_ClosureTool::Closure ( const occ::handle< TDF_DataSet > & aDataSet,
    const TDF_IDFilter & aFilter,
    const TDF_ClosureMode & aMode )
    static

    Builds the transitive closure of label and attribute sets into <aDataSet>. Uses <aFilter> to determine if an attribute has to be taken in account or not. Uses <aMode> for various way of closing.

    ◆ Closure() [3/3]

    void TDF_ClosureTool::Closure ( const TDF_Label & aLabel,
    NCollection_Map< TDF_Label > & aLabMap,
    NCollection_Map< occ::handle< TDF_Attribute > > & anAttMap,
    const TDF_IDFilter & aFilter,
    const TDF_ClosureMode & aMode )
    static

    Builds the transitive closure of <aLabel>.


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