Skip to content

Commit

Permalink
Fix references.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yatoom committed Apr 6, 2021
1 parent cfb3957 commit 1e4150c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions foronoi/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ def __init__(self, bounding_poly: Polygon = None, remove_zero_length_edges=True)
status structure which represents the beach line as a balanced binary search tree.
sweep_line: Decimal
The y-coordinate
arcs: list(:class:`voronoi.nodes.Arc`)
arcs: list(:class:`foronoi.nodes.Arc`)
List of arcs
sites: list(:class:`voronoi.graph.Point`)
sites: list(:class:`foronoi.graph.Point`)
List of points
vertices: list(:class:`voronoi.graph.Vertex`)
vertices: list(:class:`foronoi.graph.Vertex`)
List of vertices
"""
Expand Down
10 changes: 5 additions & 5 deletions foronoi/visualization/visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def plot_vertices(self, vertices=None, **kwargs):
Parameters
----------
vertices: list(:class:`voronoi.graph.Vertex`), optional
vertices: list(:class:`foronoi.graph.Vertex`), optional
The vertices to display. By default, the `voronoi`'s vertices will be used.
Returns
Expand All @@ -244,7 +244,7 @@ def plot_outgoing_edges(self, vertices=None, scale=0.5, **kwargs):
Parameters
----------
vertices: list(:class:`voronoi.graph.Vertex`), optional
vertices: list(:class:`foronoi.graph.Vertex`), optional
The vertices for which to display the outgoing edges. By default, the `voronoi`'s vertices will be used.
scale: float
Used to set the length of the `outgoing_edges`.
Expand Down Expand Up @@ -287,7 +287,7 @@ def plot_sites(self, points=None, show_labels=True, color=Colors.CELL_POINTS, zo
Parameters
----------
points: list(:class:`voronoi.graph.Point`), optional
points: list(:class:`foronoi.graph.Point`), optional
The vertices to display. By default, the `voronoi`'s vertices will be used.
show_labels: bool
Display the labels of the cell points, of format "`P#`", where `#` is the `n`th point from top to bottom.
Expand Down Expand Up @@ -321,7 +321,7 @@ def plot_edges(self, edges=None, sweep_line=None, show_labels=True, color=Colors
Parameters
----------
edges: list(:class:`voronoi.graph.HalfEdge`), optional
edges: list(:class:`foronoi.graph.HalfEdge`), optional
The edges to display. By default, the `voronoi`'s edges will be used.
sweep_line: Decimal
The y-coordinate of the sweep line, used to calculate the positions of unfinished edges. By default, the
Expand Down Expand Up @@ -349,7 +349,7 @@ def plot_border_to_site(self, edges=None, sweep_line=None):
Parameters
----------
edges: list(:class:`voronoi.graph.HalfEdge`), optional
edges: list(:class:`foronoi.graph.HalfEdge`), optional
The edges to display. By default, the `voronoi`'s edges will be used.
sweep_line: Decimal
Expand Down

0 comments on commit 1e4150c

Please sign in to comment.