Struct vox_geometry_rust::point_simple_list_searcher2::PointSimpleListSearcher2 [−][src]
pub struct PointSimpleListSearcher2 { /* fields omitted */ }
Expand description
Simple ad-hoc 2-D point searcher.
This class implements 2-D point searcher simply by looking up every point in the list. Thus, this class is not ideal for searches involving large number of points, but only for small set of items.
Implementations
impl PointSimpleListSearcher2
[src]
impl PointSimpleListSearcher2
[src]pub fn new() -> PointSimpleListSearcher2
[src]
pub fn new() -> PointSimpleListSearcher2
[src]Default constructor.
pub fn clone(&self) -> PointSimpleListSearcher2Ptr
[src]
pub fn clone(&self) -> PointSimpleListSearcher2Ptr
[src]\brief Creates a new instance of the object with same properties than original.
\return Copy of this object.
pub fn set(&mut self, other: &PointSimpleListSearcher2)
[src]
pub fn set(&mut self, other: &PointSimpleListSearcher2)
[src]Copy from the other instance.
Trait Implementations
impl PointNeighborSearcher2 for PointSimpleListSearcher2
[src]
impl PointNeighborSearcher2 for PointSimpleListSearcher2
[src]fn build(&mut self, points: &Vec<Vector2D>)
[src]
fn build(&mut self, points: &Vec<Vector2D>)
[src]Builds internal acceleration structure for given points list.
fn for_each_nearby_point<Callback>(
&self,
origin: &Vector2D,
radius: f64,
callback: &mut Callback
) where
Callback: ForEachNearbyPointFunc,
[src]
fn for_each_nearby_point<Callback>(
&self,
origin: &Vector2D,
radius: f64,
callback: &mut Callback
) where
Callback: ForEachNearbyPointFunc,
[src]Invokes the callback function for each nearby point around the origin within given radius. Read more
Auto Trait Implementations
impl RefUnwindSafe for PointSimpleListSearcher2
impl Send for PointSimpleListSearcher2
impl Sync for PointSimpleListSearcher2
impl Unpin for PointSimpleListSearcher2
impl UnwindSafe for PointSimpleListSearcher2
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,