izzi
SVG SUBSET C++ API
Loading...
Searching...
No Matches
svg::PointHash Struct Reference

#include <a60-svg-radial-fill-hexagon.h>

Public Member Functions

std::size_t operator() (const point_2t &p) const
 

Detailed Description

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.

Member Function Documentation

◆ operator()()

std::size_t svg::PointHash::operator() ( const point_2t & p) const
inline

Definition at line 33 of file a60-svg-radial-fill-hexagon.h.


The documentation for this struct was generated from the following file: