parry3d::partitioning

Trait SimdBestFirstVisitor

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

    // Required method
    fn visit(
        &mut self,
        best_cost_so_far: f32,
        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: f32, 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, 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<D, G1> SimdBestFirstVisitor<<G1 as TypedSimdCompositeShape>::PartId, SimdAabb> for CompositeShapeAgainstShapeClosestPointsVisitor<'_, D, G1>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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