Trait nblast::neurons::NblastNeuron
source · pub trait NblastNeuron {
// Required methods
fn len(&self) -> usize;
fn points(&self) -> impl Iterator<Item = Point3> + '_;
fn tangents(&self) -> impl Iterator<Item = Normal3> + '_;
fn alphas(&self) -> impl Iterator<Item = Precision> + '_;
// Provided methods
fn is_empty(&self) -> bool { ... }
fn centroid(&self) -> Point3 { ... }
}
Expand description
Trait describing a point cloud representing a neuron.
Required Methods§
sourcefn points(&self) -> impl Iterator<Item = Point3> + '_
fn points(&self) -> impl Iterator<Item = Point3> + '_
Return an owned copy of the points present in the neuron. The order is not guaranteed, but is consistent with tangents.
Provided Methods§
Object Safety§
This trait is not object safe.