Convert a collection of sf data frame polygon layers to a single pool of triangles.

polymer(...)

Arguments

...

sf polygon data frame inputs

Value

a polymer, see details

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

Examples

polymer(A, B, C)
#> polymer mesh:
#> Layers:    3
#> Polygons:  6
#> Triangles: 42
#> (Overlaps: 15)