geomc 1.0
A c++ linear algebra template library
|
Sample a point from a shape. More...
#include <geomc/random/SampleGeometry.h>
Public Types | |
using | param_type = Shape |
using | result_type = typename Shape::point_t |
using | shape_type = Shape |
Public Attributes | |
Shape | shape |
Sample a point from a shape.
Points inside the shape have uniform probability of being sampled. Use SampleShape<Hollow<Shape>>
to sample points only on the boundary of a shape.
Specializations only exist for certain shapes.