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

    The class is to provide the pair of indices of interfering shapes. More...

    #include <BOPDS_Pair.hxx>

    Public Member Functions

     BOPDS_Pair ()
     BOPDS_Pair (const int theIndex1, const int theIndex2)
     ~BOPDS_Pair ()=default
    void SetIndices (const int theIndex1, const int theIndex2)
     Sets the indices.
    void Indices (int &theIndex1, int &theIndex2) const
     Gets the indices.
    bool operator< (const BOPDS_Pair &theOther) const
     Operator less.
    bool IsEqual (const BOPDS_Pair &theOther) const
     Returns true if the Pair is equal to <the theOther>.
    bool operator== (const BOPDS_Pair &theOther) const

    Protected Attributes

    int myIndex1
    int myIndex2

    Detailed Description

    The class is to provide the pair of indices of interfering shapes.

    Constructor & Destructor Documentation

    ◆ BOPDS_Pair() [1/2]

    BOPDS_Pair::BOPDS_Pair ( )
    inline

    ◆ BOPDS_Pair() [2/2]

    BOPDS_Pair::BOPDS_Pair ( const int theIndex1,
    const int theIndex2 )
    inline

    ◆ ~BOPDS_Pair()

    BOPDS_Pair::~BOPDS_Pair ( )
    default

    Member Function Documentation

    ◆ Indices()

    void BOPDS_Pair::Indices ( int & theIndex1,
    int & theIndex2 ) const
    inline

    Gets the indices.

    ◆ IsEqual()

    bool BOPDS_Pair::IsEqual ( const BOPDS_Pair & theOther) const
    inline

    Returns true if the Pair is equal to <the theOther>.

    ◆ operator<()

    bool BOPDS_Pair::operator< ( const BOPDS_Pair & theOther) const
    inline

    Operator less.

    ◆ operator==()

    bool BOPDS_Pair::operator== ( const BOPDS_Pair & theOther) const
    inline

    ◆ SetIndices()

    void BOPDS_Pair::SetIndices ( const int theIndex1,
    const int theIndex2 )
    inline

    Sets the indices.

    Field Documentation

    ◆ myIndex1

    int BOPDS_Pair::myIndex1
    protected

    ◆ myIndex2

    int BOPDS_Pair::myIndex2
    protected

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