Trait pasture_io::base::PointWriter[][src]

pub trait PointWriter {
    fn write(&mut self, points: &dyn PointBuffer) -> Result<()>;
fn flush(&mut self) -> Result<()>;
fn get_default_point_layout(&self) -> &PointLayout; }

Base trait for all types that support writing point data

Required methods

fn write(&mut self, points: &dyn PointBuffer) -> Result<()>[src]

Write the points in the given PointBuffer to the associated PointWriter.

fn flush(&mut self) -> Result<()>[src]

Flush this PointWriter, ensuring that all points are written to their destination and that all required metadata is written as well

fn get_default_point_layout(&self) -> &PointLayout[src]

Returns the default PointLayout of the associated PointWriter

Loading content...

Implementors

impl PointWriter for LASWriter[src]

Loading content...