From e117ff6d6ed011513338f5d9fdea5a581630285c Mon Sep 17 00:00:00 2001 From: Stefan Altmayer Date: Sun, 19 Nov 2023 13:36:28 +0100 Subject: [PATCH] Reduces accuracy of floating point numbers in SVGs to make them slightly more readable. --- examples/svg_renderer/quicksketch/convert.rs | 39 +- images/angle_limit_00.svg | 120 +- images/angle_limit_20.svg | 204 +-- images/angle_limit_30.svg | 424 +++--- images/angle_limit_34.svg | 896 ++++++------ images/basic_voronoi.svg | 78 +- images/circular_iterator.svg | 58 +- images/circumcircle.svg | 14 +- images/convex_hull_scenario.svg | 12 +- images/delaunay_directed_edge_details.svg | 116 +- ...delaunay_directed_edge_face_and_vertex.svg | 116 +- images/dual_edges.svg | 24 +- images/exclude_outer_faces_refined.svg | 362 ++--- images/face_adjacent_edges.svg | 6 +- images/inner_voronoi_vertex.svg | 24 +- images/lhs.svg | 76 +- images/outer_voronoi_vertex.svg | 6 +- images/project_point.svg | 2 +- images/refined.svg | 1136 +++++++-------- images/refinement_maximum_area_100.svg | 1252 ++++++++--------- images/refinement_maximum_area_200.svg | 716 +++++----- images/refinement_maximum_area_no_limit.svg | 280 ++-- images/rhs.svg | 76 +- images/temp.svg | 408 ------ images/voronoi_edge_details.svg | 120 +- 25 files changed, 3087 insertions(+), 3478 deletions(-) delete mode 100644 images/temp.svg diff --git a/examples/svg_renderer/quicksketch/convert.rs b/examples/svg_renderer/quicksketch/convert.rs index 04c31d5..4049f9a 100644 --- a/examples/svg_renderer/quicksketch/convert.rs +++ b/examples/svg_renderer/quicksketch/convert.rs @@ -44,6 +44,15 @@ impl SketchConverter { } } +fn round(value: f64) -> f64 { + const SCALAR: f64 = 40.0; + (value * SCALAR).round() / SCALAR +} + +fn round_tuple(x: f64, y: f64) -> (f64, f64) { + (round(x), round(y)) +} + impl SketchConverter { pub fn convert>(unique_prefix: S, sketch: &Sketch) -> Document { let mut svg = Group::new(); @@ -138,19 +147,27 @@ impl SketchConverter { style, }) => svg.add( Circle::new() - .set("cx", center.x) - .set("cy", center.y) - .set("r", *radius) + .set("cx", round(center.x)) + .set("cy", round(center.y)) + .set("r", round(*radius)) .set("style", style.get_attribute_string(self)), ), SketchElement::Path(SketchPath { data_points, style }) => { let mut data = Data::new(); for point in data_points { match point { - PathPoint::MoveTo(point) => data = data.move_to((point.x, point.y)), - PathPoint::MoveBy(vector) => data = data.move_by((vector.x, vector.y)), - PathPoint::LineTo(point) => data = data.line_to((point.x, point.y)), - PathPoint::LineBy(vector) => data = data.line_by((vector.x, vector.y)), + PathPoint::MoveTo(point) => { + data = data.move_to(round_tuple(point.x, point.y)) + } + PathPoint::MoveBy(vector) => { + data = data.move_by(round_tuple(vector.x, vector.y)) + } + PathPoint::LineTo(point) => { + data = data.line_to(round_tuple(point.x, point.y)) + } + PathPoint::LineBy(vector) => { + data = data.line_by(round_tuple(vector.x, vector.y)) + } PathPoint::ArcTo { radii, rotation, @@ -243,10 +260,10 @@ impl SketchConverter { fn add_svg_line(&mut self, svg: Group, from: Point, to: Point, style: &Style) -> Group { svg.add( Line::new() - .set("x1", from.x) - .set("y1", from.y) - .set("x2", to.x) - .set("y2", to.y) + .set("x1", round(from.x)) + .set("y1", round(from.y)) + .set("x2", round(to.x)) + .set("y2", round(to.y)) .set("style", style.get_attribute_string(self)), ) } diff --git a/images/angle_limit_00.svg b/images/angle_limit_00.svg index 3dc60f8..788a5f6 100644 --- a/images/angle_limit_00.svg +++ b/images/angle_limit_00.svg @@ -7,68 +7,68 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/images/angle_limit_20.svg b/images/angle_limit_20.svg index 1dee8e0..89b510c 100644 --- a/images/angle_limit_20.svg +++ b/images/angle_limit_20.svg @@ -7,114 +7,114 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - + + + + + + - + \ No newline at end of file diff --git a/images/angle_limit_30.svg b/images/angle_limit_30.svg index 0203e78..608ea96 100644 --- a/images/angle_limit_30.svg +++ b/images/angle_limit_30.svg @@ -7,226 +7,226 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/images/angle_limit_34.svg b/images/angle_limit_34.svg index 306d71c..65b1f05 100644 --- a/images/angle_limit_34.svg +++ b/images/angle_limit_34.svg @@ -7,466 +7,466 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + \ No newline at end of file diff --git a/images/basic_voronoi.svg b/images/basic_voronoi.svg index 7f5bad3..7cb74aa 100644 --- a/images/basic_voronoi.svg +++ b/images/basic_voronoi.svg @@ -86,44 +86,44 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/images/circular_iterator.svg b/images/circular_iterator.svg index 49d3264..574cee6 100644 --- a/images/circular_iterator.svg +++ b/images/circular_iterator.svg @@ -104,34 +104,34 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -165,6 +165,6 @@ e0 v - + \ No newline at end of file diff --git a/images/circumcircle.svg b/images/circumcircle.svg index 417d4b0..55f6257 100644 --- a/images/circumcircle.svg +++ b/images/circumcircle.svg @@ -86,12 +86,12 @@ - - - - - - - + + + + + + + \ No newline at end of file diff --git a/images/convex_hull_scenario.svg b/images/convex_hull_scenario.svg index 9c6059c..060fdf6 100644 --- a/images/convex_hull_scenario.svg +++ b/images/convex_hull_scenario.svg @@ -107,26 +107,26 @@ e5 - + e4 - + e3 - + e2 - + e1 - + e0 - + \ No newline at end of file diff --git a/images/delaunay_directed_edge_details.svg b/images/delaunay_directed_edge_details.svg index e36a693..ea91f95 100644 --- a/images/delaunay_directed_edge_details.svg +++ b/images/delaunay_directed_edge_details.svg @@ -198,64 +198,64 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/images/delaunay_directed_edge_face_and_vertex.svg b/images/delaunay_directed_edge_face_and_vertex.svg index cfeb2b3..ef006d8 100644 --- a/images/delaunay_directed_edge_face_and_vertex.svg +++ b/images/delaunay_directed_edge_face_and_vertex.svg @@ -208,64 +208,64 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/images/dual_edges.svg b/images/dual_edges.svg index 3aebde5..f4cf988 100644 --- a/images/dual_edges.svg +++ b/images/dual_edges.svg @@ -86,17 +86,17 @@ - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/images/exclude_outer_faces_refined.svg b/images/exclude_outer_faces_refined.svg index fdc2cf4..f19fee4 100644 --- a/images/exclude_outer_faces_refined.svg +++ b/images/exclude_outer_faces_refined.svg @@ -8,31 +8,31 @@ - - + + - + - - + + - + - - - - - + + + + + - + @@ -63,114 +63,114 @@ - - - - - - + + + + + + - + - - - - - - - - + + + + + + + + - + - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - - + + - - - + + + - + @@ -220,35 +220,35 @@ - + - - + + - - + + - + - - - - - - - - - - - - + + + + + + + + + + + + - + @@ -258,70 +258,70 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -360,34 +360,34 @@ - - - - + + + + - - - - - - - - + + + + + + + + - + - - - - - - - - - + + + + + + + + + diff --git a/images/face_adjacent_edges.svg b/images/face_adjacent_edges.svg index f7f5b31..5714f4e 100644 --- a/images/face_adjacent_edges.svg +++ b/images/face_adjacent_edges.svg @@ -23,15 +23,15 @@ e2 - + e1 - + e0 - + face diff --git a/images/inner_voronoi_vertex.svg b/images/inner_voronoi_vertex.svg index f4e2c73..067b6f9 100644 --- a/images/inner_voronoi_vertex.svg +++ b/images/inner_voronoi_vertex.svg @@ -104,17 +104,17 @@ - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/images/lhs.svg b/images/lhs.svg index 5911ed4..db5cd60 100644 --- a/images/lhs.svg +++ b/images/lhs.svg @@ -134,32 +134,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -167,19 +167,19 @@ - - - - - - + + + + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/images/outer_voronoi_vertex.svg b/images/outer_voronoi_vertex.svg index f9aab7d..b66d09d 100644 --- a/images/outer_voronoi_vertex.svg +++ b/images/outer_voronoi_vertex.svg @@ -95,11 +95,11 @@ - + - + - + \ No newline at end of file diff --git a/images/project_point.svg b/images/project_point.svg index 102bf94..7c65034 100644 --- a/images/project_point.svg +++ b/images/project_point.svg @@ -9,7 +9,7 @@ - + before diff --git a/images/refined.svg b/images/refined.svg index 869e62f..3132bb0 100644 --- a/images/refined.svg +++ b/images/refined.svg @@ -7,327 +7,327 @@ - - - - - - + + + + + + - - - + + + - - - + + + - + - - - - - + + + + + - + - + - - + + - - - + + + - + - + - + - - + + - - + + - - - - - - - - - - + + + + + + + + + + - + - - - + + + - - - - - - - - - + + + + + + + + + - - - - + + + + - + - - - + + + - - - - - + + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - - - - + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - + + + + - + - - - + + + - + - + - + - + - + - + - + - + - - + + - - - - + + + + - - + + - - + + - + - - - + + + @@ -337,150 +337,150 @@ - + - + - + - - - - + + + + - + - + - + - + - + - + - - - - - - + + + + + + - + - - - - + + + + - + - + - - - - - - - - - - + + + + + + + + + + - + - + - + - - - - + + + + - + - - + + - + - - - - + + + + - - - + + + - - + + - + - - - - - - - - - - + + + + + + + + + + - - - - + + + + - - - - - - - + + + + + + + - - - - - - - - - + + + + + + + + + @@ -490,204 +490,204 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - + + + + - - - - - - - + + + + + + + @@ -729,15 +729,15 @@ - + - - - + + + @@ -751,94 +751,94 @@ - + - - - + + + - + - - + + - - - + + + - + - - - + + + - - - + + + - - - - + + + + - - + + - - - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + - + - - - - - - + + + + + + - - + + - - + + - - - - - - - - - + + + + + + + + + - + - + - - + + \ No newline at end of file diff --git a/images/refinement_maximum_area_100.svg b/images/refinement_maximum_area_100.svg index 43cc753..a2459c9 100644 --- a/images/refinement_maximum_area_100.svg +++ b/images/refinement_maximum_area_100.svg @@ -7,535 +7,535 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -557,107 +557,107 @@ - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Max area: 100 diff --git a/images/refinement_maximum_area_200.svg b/images/refinement_maximum_area_200.svg index bb0e4c7..2f53bcc 100644 --- a/images/refinement_maximum_area_200.svg +++ b/images/refinement_maximum_area_200.svg @@ -7,319 +7,319 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - + + + + + + - - - - - - - + + + + + + + - - - - + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -341,61 +341,61 @@ - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Max area: 200 diff --git a/images/refinement_maximum_area_no_limit.svg b/images/refinement_maximum_area_no_limit.svg index e1aff23..8a66de1 100644 --- a/images/refinement_maximum_area_no_limit.svg +++ b/images/refinement_maximum_area_no_limit.svg @@ -7,165 +7,165 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + - + - - + + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - + + - - + + - + - + - + - - + + - + - + - - + + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -187,25 +187,25 @@ - - - - - - - + + + + + + + - - - - - - - - - - - + + + + + + + + + + + No max area diff --git a/images/rhs.svg b/images/rhs.svg index dae9d5f..f01f7b1 100644 --- a/images/rhs.svg +++ b/images/rhs.svg @@ -134,32 +134,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -167,19 +167,19 @@ - - - - - - + + + + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/images/temp.svg b/images/temp.svg deleted file mode 100644 index 856bdc4..0000000 --- a/images/temp.svg +++ /dev/null @@ -1,408 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/images/voronoi_edge_details.svg b/images/voronoi_edge_details.svg index 2300dd4..cfe67cc 100644 --- a/images/voronoi_edge_details.svg +++ b/images/voronoi_edge_details.svg @@ -198,78 +198,78 @@ - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + edge edge.rev() - - + + edge.next() - - - - + + + + edge.prev() - - + + \ No newline at end of file