Insert up to n refinement points with CGAL's step-by-step mesher, using
the criteria from the last lari_refine() call. After an edit the mesher
is rebuilt on the edited mesh, so stepping refines only what the edit
spoiled.
Arguments
- m
a mesh from
lari_new()- n
maximum number of new vertices
Examples
m <- lari_new(c(0, 1, 1, 0), c(0, 0, 1, 1), 1:4, c(2, 3, 4, 1))
lari_refine(m, max_area = 0.01, max_steiner = 0)
lari_step(m, 5)
#> [1] 5
lari_counts(m)$steiner
#> [1] 5