Public Member Functions | |
Cylinder3D (const Segment3D &s, double radius) | |
double | get_radius () const |
const Segment3D & | get_segment () const |
Related Functions | |
(Note that these are not member functions.) | |
Vector Generators | |
These functions generate vector objects. Some of the methods, those with random in their name, generate a single vector chosen uniformly from the specified domain. Others, the cover methods, generate a set of points distributed (somewhat) evenly over the domain. | |
std::vector< VectorD< 3 > > | get_grid_surface_cover (const Cylinder3D &cyl, int number_of_cycles, int number_of_points_on_cycle) |
Generate a grid of 3d points on a cylinder surface. | |
std::vector< VectorD< 3 > > | get_uniform_surface_cover (const Cylinder3D &cyl, int number_of_points) |
Generate a set of 3d points that uniformly cover a cylinder. |