Skip to content

Commit

Permalink
Fix link in docs that was broken
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoledoux committed Oct 23, 2024
1 parent 59669f4 commit e6296ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/howitworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@ However, notice that in startinpy the stars are *not* exposed to the user, to ke
The data structure of startinpy is composed of 2 arrays:

1. an array of **Points**, where each entry is an array of 3 floats (x-coordinate, y-coordinate, z-coordinate)
2. an array of **Triangles**, where each **Triangle** is an array of 3 integers, the values of the indices of the 3 vertices (ordered counter-clockwise) in the array of **Points** ({func}`startinpy.DT.points`, which is 0-based, 0 being the [infinite vertex](#infinite-vertex-and-triangles)).
2. an array of **Triangles**, where each **Triangle** is an array of 3 integers, the values of the indices of the 3 vertices (ordered counter-clockwise) in the array of **Points** ({func}`startinpy.DT.points`, which is 0-based, 0 being the [infinite vertex](#infinite)).

A **Vertex** is an integer, it is the index in the array of points ({func}`startinpy.DT.points`, which is 0-based).

If you delete a vertex (with {func}`startinpy.DT.remove`), then the entry in the array of **Points** is not deleted (this would be slow because arrays are contiguous and a lot of copying would be necessary), instead the vertex/point is flagged as being removed and none of the **Triangles** will refer to it ({func}`startinpy.DT.is_vertex_removed` can be used to test).


(infinite)=

## Infinite vertex and triangles

```{image} figs/infinite.png
Expand Down

0 comments on commit e6296ab

Please sign in to comment.