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§
Sourcefn metadata(&self) -> SpatialResult<SpatialMetadata>
fn metadata(&self) -> SpatialResult<SpatialMetadata>
Returns spatial metadata associated with the source.
Sourcefn read(&mut self, options: &ReadOptions) -> SpatialResult<PointCloud>
fn read(&mut self, options: &ReadOptions) -> SpatialResult<PointCloud>
Reads the full point cloud.