pub fn rasterize_model_tagged<S: Scalar>(
model: &Model<S>,
n: usize,
) -> GeopResult<RasterizedModel<S>>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.