Function surface_data

Source
pub fn surface_data<I>(data: I, rowlen: usize) -> Surface
where I: IntoIterator<Item = (f64, f64, f64)>,
Expand description

Create a new Surface from a single flattened, row-major iterator over coordinate data with row length rowlen.

Panics if rowlen == 0.