(&self)
| 50 | } |
| 51 | |
| 52 | pub fn triangles(&self) -> impl Iterator<Item = geo::Triangle> + '_ { |
| 53 | self.triangle_points() |
| 54 | .map(|(a, b, c)| geo::Triangle::new(a, b, c)) |
| 55 | } |
| 56 | |
| 57 | pub fn lines(&self) -> impl Iterator<Item = geo::Line> + '_ { |
| 58 | self.triangle_points().flat_map(|(a, b, c)| { |