Meandering triangles for hexagonal grid in C++
meanderingTriangles(x.coords.left, x.coords.right, y.coords, z, levels)
list of x, y, and ID, for the contour line at each levels.
Vector for x coords of left-aligned rows (row 1,3,5,...)
Vector for x coords of right-aligned rows (row 2,4,6,...)
Vector for y coords of all rows.
Matrix for elevation values for the grid point
Vector of z value cutoffs for contouring.
This function is not meant to be used as is, unless you are very familiar with how hexContour works.
Hill, B. (2017) Meandering triangles. Naming Things. https://blog.bruce-hill.com/meandering-triangles