#include <BooleanObject.hpp>
|
| BooleanObject (const AShape *shape) |
|
| BooleanObject (const BooleanObject &r) |
|
BooleanObject & | operator= (const BooleanObject &r) |
|
virtual | ~BooleanObject () |
|
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| Interface to AStringable. More...
|
|
void | setMode (int mode) |
|
void | setOrientation (double orientation) |
|
void | setCenter (int idim, double value) |
|
void | setCenter (const VectorDouble ¢er) |
|
void | setExtension (int idim, double value) |
|
void | setValue (int rank, double value) |
|
int | getMode () const |
|
double | getCenter (int idim) const |
|
double | getExtension (int idim) const |
|
double | getOrientation () const |
|
double | getValue (int rank) const |
|
const AShape * | getToken () const |
|
bool | isCompatiblePore (const Db *db) |
|
bool | isCompatibleGrainAdd (const Db *db) |
|
bool | isCompatibleGrainDelete (const Db *db, int iptr_cover) |
|
void | projectToGrid (DbGrid *dbout, int iptr_simu, int iptr_rank, int facies, int rank) |
|
int | coverageUpdate (Db *db, int iptr_cover, int val) |
|
VectorDouble | getValues () const |
|
| AStringable () |
|
| AStringable (const AStringable &r) |
|
AStringable & | operator= (const AStringable &r) |
|
virtual | ~AStringable () |
|
virtual void | display (const AStringFormat *strfmt=nullptr) const final |
|
virtual void | display (int level) const final |
|
BooleanObject::BooleanObject |
( |
const AShape * |
shape | ) |
|
BooleanObject::~BooleanObject |
( |
| ) |
|
|
virtual |
int BooleanObject::coverageUpdate |
( |
Db * |
db, |
|
|
int |
iptr_cover, |
|
|
int |
val |
|
) |
| |
Update the covering value of each constraining grain after a deletion or an addition operation
- Returns
- Count of grains not covered after the operation
- Parameters
-
[in] | db | Db structure |
[in] | iptr_cover | UID for the covering variable |
[in] | val | type of the operation to be tested 1 for addition; -1 for deletion |
Function used to generate the geometry of an object
double BooleanObject::getCenter |
( |
int |
idim | ) |
const |
|
inline |
double BooleanObject::getExtension |
( |
int |
idim | ) |
const |
|
inline |
int BooleanObject::getMode |
( |
| ) |
const |
|
inline |
double BooleanObject::getOrientation |
( |
| ) |
const |
|
inline |
const AShape* BooleanObject::getToken |
( |
| ) |
const |
|
inline |
double BooleanObject::getValue |
( |
int |
rank | ) |
const |
|
inline |
bool BooleanObject::isCompatibleGrainAdd |
( |
const Db * |
db | ) |
|
Check if an object can be added with regards to the constraining grains
- Parameters
-
[in] | db | Constraining data set |
bool BooleanObject::isCompatibleGrainDelete |
( |
const Db * |
db, |
|
|
int |
iptr_cover |
|
) |
| |
Check if an object can be deleted with regards to the constraining grains
- Parameters
-
[in] | db | Constraining data set |
[in] | iptr_cover | UIUD for coverage variable |
bool BooleanObject::isCompatiblePore |
( |
const Db * |
db | ) |
|
Check if the current object is compatible with the constraining pores
- Returns
- True if it is compatible; False otherwise
- Parameters
-
[in] | db | Constraining data set |
void BooleanObject::projectToGrid |
( |
DbGrid * |
dbout, |
|
|
int |
iptr_simu, |
|
|
int |
iptr_rank, |
|
|
int |
facies, |
|
|
int |
rank |
|
) |
| |
void BooleanObject::setCenter |
( |
int |
idim, |
|
|
double |
value |
|
) |
| |
|
inline |
void BooleanObject::setCenter |
( |
const VectorDouble & |
center | ) |
|
void BooleanObject::setExtension |
( |
int |
idim, |
|
|
double |
value |
|
) |
| |
|
inline |
void BooleanObject::setMode |
( |
int |
mode | ) |
|
|
inline |
void BooleanObject::setOrientation |
( |
double |
orientation | ) |
|
|
inline |
void BooleanObject::setValue |
( |
int |
rank, |
|
|
double |
value |
|
) |
| |
|
inline |
The documentation for this class was generated from the following files: