Open CASCADE Technology 7.8.0
Public Member Functions | Protected Attributes
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 Standard_Integer theIndex1, const Standard_Integer theIndex2)
 
 ~BOPDS_Pair ()
 
void SetIndices (const Standard_Integer theIndex1, const Standard_Integer theIndex2)
 Sets the indices.
 
void Indices (Standard_Integer &theIndex1, Standard_Integer &theIndex2) const
 Gets the indices.
 
Standard_Boolean operator< (const BOPDS_Pair &theOther) const
 Operator less.
 
Standard_Boolean 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

Standard_Integer myIndex1
 
Standard_Integer 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 Standard_Integer  theIndex1,
const Standard_Integer  theIndex2 
)
inline

◆ ~BOPDS_Pair()

BOPDS_Pair::~BOPDS_Pair ( )
inline

Member Function Documentation

◆ Indices()

void BOPDS_Pair::Indices ( Standard_Integer theIndex1,
Standard_Integer theIndex2 
) const
inline

Gets the indices.

◆ IsEqual()

Standard_Boolean BOPDS_Pair::IsEqual ( const BOPDS_Pair theOther) const
inline

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

◆ operator<()

Standard_Boolean 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 Standard_Integer  theIndex1,
const Standard_Integer  theIndex2 
)
inline

Sets the indices.

Field Documentation

◆ myIndex1

Standard_Integer BOPDS_Pair::myIndex1
protected

◆ myIndex2

Standard_Integer BOPDS_Pair::myIndex2
protected

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