Skip to content

Commit

Permalink
Merge #164
Browse files Browse the repository at this point in the history
164: Add `CoordsIter` trait for iterating over coordinates in geometries. r=michaelkirk a=frewsxcv

A new trait to iterate over all coordinates in a geometry. In the future, we should add a new method to this trait called `external_coords_iter` which iterates over the external coordinates of a geometry, excluding coordinates of interior holes. Then we can make algorithms like `ConvexHull` have a generic implementation where `G: CoordsIter`

Co-authored-by: Corey Farwell <coreyf@rwell.org>
  • Loading branch information
bors[bot] and frewsxcv authored Nov 17, 2020
2 parents 67fb4c4 + 20878f9 commit 989f962
Show file tree
Hide file tree
Showing 2 changed files with 478 additions and 0 deletions.
Loading

0 comments on commit 989f962

Please # to comment.