geomc 1.0
A c++ linear algebra template library
|
Implements the RandomDistribution concept for sampling over a shape. More...
#include <geomc/random/SampleGeometry.h>
Public Types | |
using | shape_type = Shape |
using | param_type = Shape |
using | result_type = typename Shape::point_t |
using | elem_t |
The coordinate type of this object. | |
using | point_t |
The type of a point in this object's space. | |
Public Member Functions | |
ShapeDistribution (const Shape &s) | |
void | reset () |
Shape | param () const |
void | param (const Shape &s) |
result_type | min () |
result_type | max () |
bool | operator== (const ShapeDistribution &other) const =default |
Public Attributes | |
Shape | shape |
Static Public Attributes | |
static constexpr index_t | N |
The dimension of this object. | |
Implements the RandomDistribution concept for sampling over a shape.
|
inherited |
The type of a point in this object's space.
An N-vector of T if N > 1, otherwise a T.