Skip to main content

cloud_as_stream

Function cloud_as_stream 

Source
pub fn cloud_as_stream(
    cloud: &PointCloud<OPoint<f32, Const<3>>>,
) -> impl Iterator<Item = Result<OPoint<f32, Const<3>>, Error>>
Expand description

Wrap a PointCloud as a streaming source of Result<Point3f>.

Useful for testing pipelines without a file on disk.