|  | MineLink
    | 
Abstracts accessibility filter function. More...
#include <filters.h>


| Public Member Functions | |
| AccessibilityFilter (const double &vertical_angle_degrees, const double &deltax, const double &deltay, const double &deltaz, delphos::BlockModel &bm) | |
| defines an accessibility filter of a given angle and given block dimensions.  More... | |
| virtual bool | Eval (const delphos::Block &block) const | 
| method that determine how the blocks are filtered.  More... | |
|  Public Member Functions inherited from delphos::BlockFilter | |
| virtual | ~BlockFilter () | 
| Destroys a block filter. | |
Abstracts accessibility filter function.
| delphos::AccessibilityFilter::AccessibilityFilter | ( | const double & | vertical_angle_degrees, | 
| const double & | deltax, | ||
| const double & | deltay, | ||
| const double & | deltaz, | ||
| delphos::BlockModel & | bm | ||
| ) | 
defines an accessibility filter of a given angle and given block dimensions.
| vertical_angle_degrees | The slope angle, measured in degrees with regards to the vertical axis. | 
| deltax | Positive real number indicating the block dimensions in the X axis. | 
| deltay | Positive real number indicating the block dimensions in the Y axis. | 
| deltaz | Positive real number indicating the block dimensions in the Z axis. | 
| bm | The block model. | 
This version only works if the block model is regular, that is all blocks have the same dimensions \((\Delta x, \Delta y, \Delta z)\).
| 
 | virtual | 
method that determine how the blocks are filtered.
The method return true if the block is kept, false if it is not.
Reimplemented from delphos::BlockFilter.
Reimplemented in delphos::AccessibilityAndRangeFilter.