pub fn rasterize(model: &Model, n: usize) -> GeopResult<RasterizedModel>Expand description
Sample every vertex/edge/face of model into a RasterizedModel.
n is a quality: how finely a curve or surface that actually curves is
approximated (see [sample_curve] and [grid::triangulate_face]), not
a fixed sample count — a straight edge or flat face stays cheap.