spatialrust_features/estimator.rs
1use spatialrust_core::{PointCloud, SpatialResult};
2
3/// Computes point-wise features from an input point cloud.
4pub trait FeatureEstimator {
5 /// Human-readable estimator name.
6 fn name(&self) -> &'static str;
7
8 /// Runs feature estimation and returns an output point cloud.
9 fn estimate(&self, input: &PointCloud) -> SpatialResult<PointCloud>;
10}