Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Abstract interface for all objects for which we can compute the intercept with a ray emitted from a point. More...
#include <bayeux/geomtools/i_find_intercept.h>
Public Member Functions | |
i_find_intercept () | |
Default constructor. More... | |
virtual | ~i_find_intercept () |
Destructor. More... | |
virtual bool | find_intercept (const vector_3d &a_from, const vector_3d &a_direction, face_intercept_info &a_intercept, double a_skin=GEOMTOOLS_PROPER_TOLERANCE) const =0 |
bool | find_intercept_self (const vector_3d &a_from, const vector_3d &a_direction, face_intercept_info &a_intercept, double a_skin=GEOMTOOLS_PROPER_TOLERANCE) const |
bool | find_intercept (const vector_3d &a_from, const vector_3d &a_direction, const placement &a_placement, face_intercept_info &a_intercept, double a_skin=GEOMTOOLS_PROPER_TOLERANCE) const |
Abstract interface for all objects for which we can compute the intercept with a ray emitted from a point.
geomtools::i_find_intercept::i_find_intercept | ( | ) |
Default constructor.
|
virtual |
Destructor.
|
pure virtual |
Find intercept on some surface from a segment/ray emitted from a point
This method implies we work in the local coordinate system of the target object
Implemented in geomtools::tessellated_solid, geomtools::polycone, geomtools::right_circular_conical_frustrum, geomtools::polyhedra, geomtools::tube, geomtools::extruded_box, geomtools::sphere, geomtools::right_polygonal_frustrum, geomtools::torus, geomtools::box, geomtools::cylinder, geomtools::elliptical_cylinder, geomtools::ellipsoid, geomtools::simple_polygon, geomtools::wall_solid, geomtools::disk, geomtools::regular_polygon, geomtools::ellipsoid_sector, geomtools::elliptical_sector, geomtools::spherical_sector, geomtools::elliptical_cylinder_sector, geomtools::quadrangle, geomtools::right_circular_conical_nappe, geomtools::quadric, geomtools::cylindrical_sector, geomtools::triangle, geomtools::toroid_nappe, geomtools::plane, geomtools::composite_surface, geomtools::rectangle, geomtools::intersection_3d, geomtools::union_3d, and geomtools::subtraction_3d.
bool geomtools::i_find_intercept::find_intercept | ( | const vector_3d & | a_from, |
const vector_3d & | a_direction, | ||
const placement & | a_placement, | ||
face_intercept_info & | a_intercept, | ||
double | a_skin = GEOMTOOLS_PROPER_TOLERANCE |
||
) | const |
Find intercept on some surface from a segment/ray emitted from a point
This method implies we work in the global coordinate system of the target object
bool geomtools::i_find_intercept::find_intercept_self | ( | const vector_3d & | a_from, |
const vector_3d & | a_direction, | ||
face_intercept_info & | a_intercept, | ||
double | a_skin = GEOMTOOLS_PROPER_TOLERANCE |
||
) | const |
Find intercept on some surface from a segment/ray emitted from a point
This method implies we work in the local coordinate system of the target object