Skip to main content

SpatialIndex

Trait SpatialIndex 

Source
pub trait SpatialIndex {
    // Required method
    fn len(&self) -> usize;

    // Provided method
    fn is_empty(&self) -> bool { ... }
}
Expand description

Common spatial index operations.

Required Methods§

Source

fn len(&self) -> usize

Returns the number of indexed points.

Provided Methods§

Source

fn is_empty(&self) -> bool

Returns whether the index is empty.

Implementors§