Convert a collection of sf data frame polygon layers to a single pool of triangles.
polymer(...)
sf polygon data frame inputs
a polymer, see details
Each triangle is identified by which path in the inputs it belongs to. None of this is very useable yet. Holes can be identified but aren't at the moment, any path that is a hole is identified per triangle.
input
is a list with all input objects
primitives
is the triangulation object
geometry_map
is the paths with their row count
index
is the mapping between triangle and path/s
polymer(A, B, C)
#> polymer mesh:
#> Layers: 3
#> Polygons: 6
#> Triangles: 42
#> (Overlaps: 15)