silicate

The goals of silicate can be summed up by asking what is the right way to think about these two polygons:

plot(minimal_mesh$geom, col = c("dodgerblue", "firebrick"))

Are there

The answer is all of the above! The PATH model knows about three linear sequences of coordinates.

(p <- PATH(minimal_mesh))
plot(p, col = viridis::viridis(2))

The SC model knows about the segments.

(sc <- SC(minimal_mesh))
plot(sc, col = viridis::viridis(15))

The TRI model knows about the triangles.

(tri <- TRI(minimal_mesh))
plot(tri, col = viridis::viridis(14))

Finally, the ARC model knows about the shared boundaries, although only in this special case of neighbouring triangles.




mdsumner/sc documentation built on Jan. 16, 2024, 2:03 a.m.