[−][src]Function lasy::segments_to_point_graph
pub fn segments_to_point_graph<P, I>(points: &[P], segments: I) -> PointGraph where
P: Hash + Weight,
I: IntoIterator<Item = Segment>,
Convert the given laser frame vector segments to a graph of points.
The point type P
must be able to be hashed for node deduplication.