36 double eps = std::numeric_limits<double>::epsilon())
const;
Definition of the AABB class.
Definition of the Point class.
Class AABB is an axis aligned bounding box around a given set of geometric points of (template) type ...
void sortTrianglesInGridCells(GeoLib::Surface const *const sfc)
std::vector< std::vector< GeoLib::Triangle const * > > _triangles_in_grid_box
bool isPointInSurface(MathLib::Point3d const &pnt, double eps=std::numeric_limits< double >::epsilon()) const
std::array< std::size_t, 3 > _n_steps
std::array< double, 3 > _inverse_step_sizes
bool sortTriangleInGridCells(GeoLib::Triangle const *const triangle)
SurfaceGrid(GeoLib::Surface const *const sfc)
std::optional< std::array< std::size_t, 3 > > getGridCellCoordinates(MathLib::Point3d const &p) const
std::array< double, 3 > _step_sizes
A Surface is represented by Triangles. It consists of a reference to a vector of (pointers to) points...
Class Triangle consists of a reference to a point vector and a vector that stores the indices in the ...