Computes exact linear threshold crossings from the same vertex-scalar model used by [render_surface_rgba()]. Positive and negative levels are handled as independent regions for two-sided maps.
Usage
surface_threshold_segments(
vertices,
faces,
values,
threshold,
tail = c("two_sided", "positive", "negative")
)