You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor Tds struct and add new methods for counting vertices and cells
- Refactored the `Tds` struct in `triangulation_data_structure.rs` to include two new methods: `number_of_vertices()` and `number_of_cells()`.
- Updated the existing tests in the module to use these new methods instead of directly accessing the `vertices` and `cells` fields.
- Added assertions to verify that the counts returned by these methods are correct.
This commit improves code readability and encapsulation by providing dedicated methods for counting vertices and cells in the triangulation data structure.
D-dimensional Delaunay triangulations in Rust, inspired by [CGAL].
7
+
D-dimensional Delaunay triangulations in [Rust], inspired by [CGAL].
8
8
9
9
## Introduction
10
10
11
-
This library implements d-dimensional Delaunay triangulations in [Rust]. It is inspired by the [CGAL] library, which is a C++ library for computational geometry; and [Spade], a Rust library implementing 2D Delaunay triangulations, Constrained Delaunay triangulations, and Voronoi diagrams. The eventual goal of this library is to provide a lightweight [Rust] alternative to [CGAL].
11
+
This library implements d-dimensional Delaunay triangulations in [Rust]. It is inspired by the [CGAL] library, which is a C++ library for computational geometry; and [Spade], a Rust library
12
+
implementing 2D Delaunay triangulations, Constrained Delaunay triangulations, and Voronoi diagrams. The eventual goal of this library is to provide a lightweight alternative to [CGAL] for the [Rust]
13
+
ecosystem.
12
14
13
-
At some point I may merge it into another library, such as [Spade], or [delaunay], but for now I am developing this library without trying to figure out how to fit into other coding styles and standards.
15
+
At some point I may merge it into another library, such as [Spade], or [delaunay], but for now I am developing this library without trying to figure out how to fit it into other coding styles and standards.
0 commit comments