Function boostvoronoi::read_boost_input_file
source · pub fn read_boost_input_file<I>(
filename: &Path
) -> Result<(Vec<Point<I>>, Vec<Line<I>>), BvError>where
I: InputType,
Expand description
Reads an example file in the file format used by C++ boost voronoi:
[number of points]
[X] [Y] (repeats)
[number of lines]
[X1] [Y1] [X2] [Y2](repeats)