Function boostvoronoi::read_boost_input_buffer
source · pub fn read_boost_input_buffer<I, F>(
reader: BufReader<F>
) -> Result<(Vec<Point<I>>, Vec<Line<I>>), BvError>
Expand description
Reads an example from a buffer using the format used by C++ boost voronoi:
[number of points]
[X] [Y] (repeats)
[number of lines]
[X1] [Y1] [X2] [Y2](repeats)