Struct geom::FindClosest [−][src]
Expand description
A quad-tree to quickly find the closest points to some polylines.
Fields
geometries: BTreeMap<K, LineString<f64>>
quadtree: QuadTree<K>
Implementations
Creates the quad-tree, limited to points contained in the boundary.
Add an object to the quadtree, remembering some key associated with the points.
For every object within some distance of a query point, return the (object’s key, point on the object’s polyline, distance away).