Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
#include <bayeux/geomtools/i_locator.h>
Public Member Functions | |
virtual bool | validate_id (const geom_id &id_) const =0 |
Given a geometry ID, check if it is valid (known within some internal table). More... | |
virtual const geom_info & | get_geom_info (const geom_id &id_) const =0 |
Given a geometry ID, returns the associated geom_info instance (from some internal table). More... | |
virtual const geom_id & | get_geom_id (const vector_3d &position_, int type_=geom_id::INVALID_TYPE, double tolerance_=GEOMTOOLS_PROPER_TOLERANCE) const =0 |
virtual bool | find_geom_id (const vector_3d &position_, int type_, geom_id &gid_, double tolerance_=GEOMTOOLS_PROPER_TOLERANCE) const |
An abstract interface for locators based on some internal lookup table. Its methods return some reference to some stored geometrical meta data.
|
virtual |
Given a position and the type of some geometry volume, returns if position is inside and the associated geom_id
Implements geomtools::i_base_locator.
|
pure virtual |
Given a position and the type of some geometry volume, returns the associated geom_id instance (from some internal table).
Implemented in geomtools::smart_id_locator, and geomtools::geom_map.
|
pure virtual |
Given a geometry ID, returns the associated geom_info instance (from some internal table).
Implemented in geomtools::smart_id_locator, and geomtools::geom_map.
|
pure virtual |
Given a geometry ID, check if it is valid (known within some internal table).
Implemented in geomtools::smart_id_locator, and geomtools::geom_map.