Trait parry3d::partitioning::SimdBestFirstVisitor

source ·
pub trait SimdBestFirstVisitor<LeafData, SimdBV> {
    type Result;

    // Required method
    fn visit(
        &mut self,
        best_cost_so_far: Real,
        bv: &SimdBV,
        value: Option<[Option<&LeafData>; 4]>
    ) -> SimdBestFirstVisitStatus<Self::Result>;
}
Expand description

Trait implemented by cost functions used by the best-first search on a BVT.

Required Associated Types§

source

type Result

The result of a best-first traversal.

Required Methods§

source

fn visit( &mut self, best_cost_so_far: Real, bv: &SimdBV, value: Option<[Option<&LeafData>; 4]> ) -> SimdBestFirstVisitStatus<Self::Result>

Compute the next action to be taken by the best-first-search after visiting a node containing the given bounding volume.

Implementors§

source§

impl<'a, D, G1> SimdBestFirstVisitor<<G1 as TypedSimdCompositeShape>::PartId, SimdAabb> for CompositeShapeAgainstShapeClosestPointsVisitor<'a, D, G1>

source§

impl<'a, D, G1> SimdBestFirstVisitor<<G1 as TypedSimdCompositeShape>::PartId, SimdAabb> for CompositeShapeAgainstAnyDistanceVisitor<'a, D, G1>

source§

impl<'a, D, G1> SimdBestFirstVisitor<<G1 as TypedSimdCompositeShape>::PartId, SimdAabb> for IntersectionCompositeShapeShapeBestFirstVisitor<'a, D, G1>

source§

impl<'a, D, G1> SimdBestFirstVisitor<<G1 as TypedSimdCompositeShape>::PartId, SimdAabb> for NonlinearTOICompositeShapeShapeBestFirstVisitor<'a, D, G1>

source§

impl<'a, D, G1> SimdBestFirstVisitor<<G1 as TypedSimdCompositeShape>::PartId, SimdAabb> for TOICompositeShapeShapeBestFirstVisitor<'a, D, G1>

source§

impl<'a, S> SimdBestFirstVisitor<<S as TypedSimdCompositeShape>::PartId, SimdAabb> for RayCompositeShapeToiAndNormalBestFirstVisitor<'a, S>

source§

impl<'a, S> SimdBestFirstVisitor<<S as TypedSimdCompositeShape>::PartId, SimdAabb> for RayCompositeShapeToiBestFirstVisitor<'a, S>

source§

impl<'a, S> SimdBestFirstVisitor<<S as TypedSimdCompositeShape>::PartId, SimdAabb> for PointCompositeShapeProjBestFirstVisitor<'a, S>

source§

impl<'a, S> SimdBestFirstVisitor<<S as TypedSimdCompositeShape>::PartId, SimdAabb> for PointCompositeShapeProjWithFeatureBestFirstVisitor<'a, S>

source§

impl<'a, S> SimdBestFirstVisitor<<S as TypedSimdCompositeShape>::PartId, SimdAabb> for PointCompositeShapeProjWithLocationBestFirstVisitor<'a, S>

source§

impl<'a, S: SimdCompositeShape + PointQuery> SimdBestFirstVisitor<u32, SimdAabb> for CompositeClosestPointVisitor<'a, S>