Update name of method

This commit is contained in:
Hanno Braun 2025-02-24 19:07:05 +01:00
parent a089dde7bf
commit 0c85f0c33a
2 changed files with 5 additions and 3 deletions

View File

@ -33,8 +33,8 @@ impl ConnectExt for Handle<Face> {
);
let side_faces = self
.half_edges()
.zip(other.half_edges())
.start_and_end_vertices()
.zip(other.start_and_end_vertices())
.map(|([q, r], [t, s])| {
let surface =
Plane::from_points([q, r, s].map(|vertex| vertex.point));

View File

@ -40,7 +40,9 @@ impl Face {
self.half_edges.iter().map(|half_edge| half_edge.start())
}
pub fn half_edges(&self) -> impl Iterator<Item = [&Handle<Vertex>; 2]> {
pub fn start_and_end_vertices(
&self,
) -> impl Iterator<Item = [&Handle<Vertex>; 2]> {
self.half_edges
.iter()
.circular_tuple_windows()