Contains helpers for discretizing various geometric objects.
Definition in file discretization_helpers.hpp.
#include <medusa/Config.hpp>
#include <medusa/bits/types/Range.hpp>
#include <Eigen/Core>
#include <random>
Go to the source code of this file.
Classes | |
struct | mm::discretization_helpers::SphereDiscretization< scalar_t, dim > |
Discretizes a sphere with given radius uniformly with num_points points on the great circle. More... | |
struct | mm::discretization_helpers::SphereDiscretization< scalar_t, 2 > |
Two-dimensional base case of the discretization. More... | |
struct | mm::discretization_helpers::SphereDiscretization< scalar_t, 1 > |
One-dimensional base case of the discretization. More... | |
Namespaces | |
mm | |
Root namespace for the whole library. | |
mm::discretization_helpers | |
Namespace containing helpers for discretizing various geometric objects. | |
Functions | |
template<typename vec_t , typename func_t > | |
Range< vec_t > | mm::discretization_helpers::discretizeLineWithDensity (const vec_t &p, const vec_t &q, const func_t &delta_r) |
Returns nodes lying on the line segment pq with approximate distances delta_r . More... | |