Skip to main content

PointReader

Trait PointReader 

Source
pub trait PointReader {
    // Required methods
    fn schema(&self) -> SpatialResult<PointSchema>;
    fn metadata(&self) -> SpatialResult<SpatialMetadata>;
    fn read(&mut self, options: &ReadOptions) -> SpatialResult<PointCloud>;
}
Expand description

Reads a point cloud from a file or stream.

Required Methods§

Source

fn schema(&self) -> SpatialResult<PointSchema>

Returns the schema declared by the source.

Source

fn metadata(&self) -> SpatialResult<SpatialMetadata>

Returns spatial metadata associated with the source.

Source

fn read(&mut self, options: &ReadOptions) -> SpatialResult<PointCloud>

Reads the full point cloud.

Implementors§