[][src]Trait nblast::TargetNeuron

pub trait TargetNeuron: QueryNeuron {
    fn nearest_match_dist_dot(
        &self,
        point: &Point3,
        tangent: &Normal3,
        alpha: Option<Precision>
    ) -> DistDot; }

Trait describing a neuron which can be the target (or the query) of an NBLAST match.

Required methods

fn nearest_match_dist_dot(
    &self,
    point: &Point3,
    tangent: &Normal3,
    alpha: Option<Precision>
) -> DistDot

For a given point and tangent vector, get the distance to its nearest point in the target, and the absolute dot product with that neighbor's tangent (i.e. absolute cosine of the angle, as they are both unit-length).

Loading content...

Implementors

impl TargetNeuron for RStarTangentsAlphas[src]

Loading content...