This is the base class for the WEM elements nodes, edges, and faces.
More...
#include <WEMPrimitive.h>
This is the base class for the WEM elements nodes, edges, and faces.
Definition at line 27 of file WEMPrimitive.h.
◆ WEMPrimitive() [1/3]
ml::WEMPrimitive::WEMPrimitive |
( |
| ) |
|
◆ WEMPrimitive() [2/3]
◆ WEMPrimitive() [3/3]
◆ ~WEMPrimitive()
virtual ml::WEMPrimitive::~WEMPrimitive |
( |
| ) |
|
|
virtualdefault |
◆ clearFlag()
void ml::WEMPrimitive::clearFlag |
( |
| ) |
|
|
inline |
◆ getEntryNumber()
int ml::WEMPrimitive::getEntryNumber |
( |
| ) |
const |
|
inline |
Returns the entry number.
The entryNumber is the index into the (vector-like) structure the primitive is stored in internally.
Definition at line 42 of file WEMPrimitive.h.
◆ getHeapPosition()
int ml::WEMPrimitive::getHeapPosition |
( |
| ) |
const |
|
inline |
◆ getHeapValue()
double ml::WEMPrimitive::getHeapValue |
( |
| ) |
const |
|
inline |
◆ inHeap()
bool ml::WEMPrimitive::inHeap |
( |
| ) |
const |
|
inline |
Returns whether this primitive is in the heap.
Definition at line 60 of file WEMPrimitive.h.
◆ isSet()
bool ml::WEMPrimitive::isSet |
( |
unsigned int |
bit | ) |
const |
|
inline |
Returns whether the bit-flag is set.
Definition at line 46 of file WEMPrimitive.h.
◆ isTraversed()
bool ml::WEMPrimitive::isTraversed |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ resetPrimitive()
void ml::WEMPrimitive::resetPrimitive |
( |
| ) |
|
Resets the object to its default constructed state.
◆ setEntryNumber()
void ml::WEMPrimitive::setEntryNumber |
( |
int |
e | ) |
|
|
inline |
◆ setFlag()
void ml::WEMPrimitive::setFlag |
( |
unsigned int |
bit | ) |
|
|
inline |
◆ setHeapPosition()
void ml::WEMPrimitive::setHeapPosition |
( |
int |
heapPosition | ) |
|
|
inline |
◆ setHeapValue()
void ml::WEMPrimitive::setHeapValue |
( |
double |
heapValue | ) |
|
|
inline |
◆ setTraversed()
void ml::WEMPrimitive::setTraversed |
( |
bool |
traversed | ) |
|
◆ unsetFlag()
void ml::WEMPrimitive::unsetFlag |
( |
unsigned int |
bit | ) |
|
|
inline |
◆ _bitFlag
unsigned int ml::WEMPrimitive::_bitFlag |
|
protected |
◆ _entryNumber
int ml::WEMPrimitive::_entryNumber |
|
protected |
Entry number in index vector, for easy deletion and reference.
Definition at line 73 of file WEMPrimitive.h.
◆ _heapPosition
int ml::WEMPrimitive::_heapPosition |
|
protected |
Heap position, same like entryNumber but for heaps.
Definition at line 75 of file WEMPrimitive.h.
◆ _heapValue
double ml::WEMPrimitive::_heapValue |
|
protected |
Element value, used for heap sorting.
Definition at line 77 of file WEMPrimitive.h.
The documentation for this class was generated from the following file: