Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
NCollection_CellFilter< Inspector >::Cell Struct Reference

#include <NCollection_CellFilter.hxx>

Public Member Functions

 Cell (const Point &thePnt, const NCollection_Array1< double > &theCellSize)
 Constructor; computes cell indices.
 Cell (const CellIndex &theIndex)
 Constructor from cell index; creates a lookup-only cell (no object list).
 Cell (Cell &&theOther) noexcept
 Move constructor: transfers ownership of the object list.
Cell & operator= (Cell &&theOther) noexcept
 ~Cell ()
 Destructor; calls destructors for targets contained in the list.
bool IsEqual (const Cell &theOther) const noexcept
 Compare cell with other one.
bool operator== (const Cell &theOther) const noexcept

Data Fields

CellIndex index
ListNode * Objects

Detailed Description

template<class Inspector>
struct NCollection_CellFilter< Inspector >::Cell

Auxiliary structure representing a cell in the space. Cells are stored in the map, each cell contains list of objects that belong to that cell.

Constructor & Destructor Documentation

◆ Cell() [1/3]

template<class Inspector>
NCollection_CellFilter< Inspector >::Cell::Cell ( const Point & thePnt,
const NCollection_Array1< double > & theCellSize )
inline

Constructor; computes cell indices.

◆ Cell() [2/3]

template<class Inspector>
NCollection_CellFilter< Inspector >::Cell::Cell ( const CellIndex & theIndex)
inline

Constructor from cell index; creates a lookup-only cell (no object list).

◆ Cell() [3/3]

template<class Inspector>
NCollection_CellFilter< Inspector >::Cell::Cell ( Cell && theOther)
inlinenoexcept

Move constructor: transfers ownership of the object list.

◆ ~Cell()

template<class Inspector>
NCollection_CellFilter< Inspector >::Cell::~Cell ( )
inline

Destructor; calls destructors for targets contained in the list.

Member Function Documentation

◆ IsEqual()

template<class Inspector>
bool NCollection_CellFilter< Inspector >::Cell::IsEqual ( const Cell & theOther) const
inlinenoexcept

Compare cell with other one.

◆ operator=()

template<class Inspector>
Cell & NCollection_CellFilter< Inspector >::Cell::operator= ( Cell && theOther)
inlinenoexcept

◆ operator==()

template<class Inspector>
bool NCollection_CellFilter< Inspector >::Cell::operator== ( const Cell & theOther) const
inlinenoexcept

Field Documentation

◆ index

template<class Inspector>
CellIndex NCollection_CellFilter< Inspector >::Cell::index

◆ Objects

template<class Inspector>
ListNode* NCollection_CellFilter< Inspector >::Cell::Objects

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