mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 18:38:28 +00:00
Update name of method
This commit is contained in:
parent
a089dde7bf
commit
0c85f0c33a
@ -33,8 +33,8 @@ impl ConnectExt for Handle<Face> {
|
|||||||
);
|
);
|
||||||
|
|
||||||
let side_faces = self
|
let side_faces = self
|
||||||
.half_edges()
|
.start_and_end_vertices()
|
||||||
.zip(other.half_edges())
|
.zip(other.start_and_end_vertices())
|
||||||
.map(|([q, r], [t, s])| {
|
.map(|([q, r], [t, s])| {
|
||||||
let surface =
|
let surface =
|
||||||
Plane::from_points([q, r, s].map(|vertex| vertex.point));
|
Plane::from_points([q, r, s].map(|vertex| vertex.point));
|
||||||
|
@ -40,7 +40,9 @@ impl Face {
|
|||||||
self.half_edges.iter().map(|half_edge| half_edge.start())
|
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
|
self.half_edges
|
||||||
.iter()
|
.iter()
|
||||||
.circular_tuple_windows()
|
.circular_tuple_windows()
|
||||||
|
Loading…
Reference in New Issue
Block a user