|
izzi
SVG SUBSET C++ API
|
#include <a60-svg-radial-fill-hexagon.h>
Public Member Functions | |
| std::size_t | operator() (const point_2t &p) const |
write a c++ function that tessalates hexagons, named generate_radial_hexagons_v3. The arguments are (const int n, const double r, const point_2t origin, const bool centerfilledp = false) where n is the number of hexagons total, r is the radius a hexagon (all hexagons same size), point_2t is a tuple of (x,y) points, and centerfilledp when true starts filling in the center and when false leaves the center empty
the function returns a std::vector<points> of hexagon centerpoints.
Definition at line 30 of file a60-svg-radial-fill-hexagon.h.
|
inline |
Definition at line 33 of file a60-svg-radial-fill-hexagon.h.