Function boostvoronoi::read_boost_input_file[][src]

pub fn read_boost_input_file<I>(
    filename: &Path
) -> Result<(Vec<Point<I>, Global>, Vec<Line<I>, Global>), 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)