Open CASCADE Technology  7.3.0
Public Member Functions | Protected Member Functions | Protected Attributes

BOPDS_Interf Class Reference

#include <BOPDS_Interf.hxx>

Inheritance diagram for BOPDS_Interf:
Inheritance graph
[legend]

Public Member Functions

void SetIndices (const Standard_Integer theIndex1, const Standard_Integer theIndex2)
 
void Indices (Standard_Integer &theIndex1, Standard_Integer &theIndex2) const
 
void SetIndex1 (const Standard_Integer theIndex)
 
void SetIndex2 (const Standard_Integer theIndex)
 
Standard_Integer Index1 () const
 
Standard_Integer Index2 () const
 
Standard_Integer OppositeIndex (const Standard_Integer theI) const
 
Standard_Boolean Contains (const Standard_Integer theIndex) const
 
void SetIndexNew (const Standard_Integer theIndex)
 
Standard_Integer IndexNew () const
 
Standard_Boolean HasIndexNew (Standard_Integer &theIndex) const
 
Standard_Boolean HasIndexNew () const
 

Protected Member Functions

 BOPDS_Interf ()
 
 BOPDS_Interf (const Handle< NCollection_BaseAllocator > &theAllocator)
 
virtual ~BOPDS_Interf ()
 

Protected Attributes

Standard_Integer myIndex1
 
Standard_Integer myIndex2
 
Standard_Integer myIndexNew
 
Handle< NCollection_BaseAllocatormyAllocator
 

Detailed Description

The class BOPDS_Interf is is to store the information about the interference between two shapes. The class BOPDS_Interf is root class

Constructor & Destructor Documentation

◆ BOPDS_Interf() [1/2]

BOPDS_Interf::BOPDS_Interf ( )
inlineprotected

◆ BOPDS_Interf() [2/2]

BOPDS_Interf::BOPDS_Interf ( const Handle< NCollection_BaseAllocator > &  theAllocator)
inlineprotected

◆ ~BOPDS_Interf()

virtual BOPDS_Interf::~BOPDS_Interf ( )
inlineprotectedvirtual

Member Function Documentation

◆ Contains()

Standard_Boolean BOPDS_Interf::Contains ( const Standard_Integer  theIndex) const
inline

Returns true if the interference contains given index

Parameters
theIndexthe index
Returns
true if the interference contains given index

◆ HasIndexNew() [1/2]

Standard_Boolean BOPDS_Interf::HasIndexNew ( Standard_Integer theIndex) const
inline

Returns true if the interference has index of new shape that is equal to the given index

Parameters
theIndexthe index
Returns
true if the interference has index of new shape that is equal to the given index

◆ HasIndexNew() [2/2]

Standard_Boolean BOPDS_Interf::HasIndexNew ( ) const
inline

Returns true if the interference has index of new shape the index

Returns
true if the interference has index of new shape

◆ Index1()

Standard_Integer BOPDS_Interf::Index1 ( ) const
inline

Returns the index of the first interferred shape

Returns
index of the first shape

◆ Index2()

Standard_Integer BOPDS_Interf::Index2 ( ) const
inline

Returns the index of the second interferred shape

Returns
index of the second shape

◆ IndexNew()

Standard_Integer BOPDS_Interf::IndexNew ( ) const
inline

Returns the index of new shape

Returns
theIndex the index of new shape

◆ Indices()

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

Returns the indices of interferred shapes

Parameters
theIndex1index of the first shape
theIndex2index of the second shape

◆ OppositeIndex()

Standard_Integer BOPDS_Interf::OppositeIndex ( const Standard_Integer  theI) const
inline

Returns the index of that are opposite to the given index

Parameters
theIthe index
Returns
index of opposite shape

◆ SetIndex1()

void BOPDS_Interf::SetIndex1 ( const Standard_Integer  theIndex)
inline

Sets the index of the first interferred shape

Parameters
theIndexindex of the first shape

◆ SetIndex2()

void BOPDS_Interf::SetIndex2 ( const Standard_Integer  theIndex)
inline

Sets the index of the second interferred shape

Parameters
theIndexindex of the second shape

◆ SetIndexNew()

void BOPDS_Interf::SetIndexNew ( const Standard_Integer  theIndex)
inline

Sets the index of new shape

Parameters
theIndexthe index

◆ SetIndices()

void BOPDS_Interf::SetIndices ( const Standard_Integer  theIndex1,
const Standard_Integer  theIndex2 
)
inline

Sets the indices of interferred shapes

Parameters
theIndex1index of the first shape
theIndex2index of the second shape

Field Documentation

◆ myAllocator

Handle< NCollection_BaseAllocator > BOPDS_Interf::myAllocator
protected

◆ myIndex1

Standard_Integer BOPDS_Interf::myIndex1
protected

◆ myIndex2

Standard_Integer BOPDS_Interf::myIndex2
protected

◆ myIndexNew

Standard_Integer BOPDS_Interf::myIndexNew
protected

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