diff --git a/crates/fj-core/src/objects/kinds/edge.rs b/crates/fj-core/src/objects/kinds/half_edge.rs similarity index 100% rename from crates/fj-core/src/objects/kinds/edge.rs rename to crates/fj-core/src/objects/kinds/half_edge.rs diff --git a/crates/fj-core/src/objects/kinds/mod.rs b/crates/fj-core/src/objects/kinds/mod.rs index 2cba2587d..2e5bdf75c 100644 --- a/crates/fj-core/src/objects/kinds/mod.rs +++ b/crates/fj-core/src/objects/kinds/mod.rs @@ -1,7 +1,7 @@ pub mod curve; pub mod cycle; -pub mod edge; pub mod face; +pub mod half_edge; pub mod region; pub mod shell; pub mod sketch; diff --git a/crates/fj-core/src/objects/mod.rs b/crates/fj-core/src/objects/mod.rs index c4dccaa02..f74b043b5 100644 --- a/crates/fj-core/src/objects/mod.rs +++ b/crates/fj-core/src/objects/mod.rs @@ -48,8 +48,8 @@ pub use self::{ kinds::{ curve::Curve, cycle::Cycle, - edge::HalfEdge, face::{Face, Handedness}, + half_edge::HalfEdge, region::Region, shell::Shell, sketch::Sketch, diff --git a/crates/fj-core/src/operations/update/cycle.rs b/crates/fj-core/src/operations/update/cycle.rs index f0dd04ce5..3367d3b42 100644 --- a/crates/fj-core/src/operations/update/cycle.rs +++ b/crates/fj-core/src/operations/update/cycle.rs @@ -9,7 +9,7 @@ pub trait UpdateCycle { #[must_use] fn add_half_edges( &self, - edges: impl IntoIterator>, + half_edges: impl IntoIterator>, ) -> Self; /// Update an edge of the cycle @@ -47,10 +47,10 @@ pub trait UpdateCycle { impl UpdateCycle for Cycle { fn add_half_edges( &self, - edges: impl IntoIterator>, + half_edges: impl IntoIterator>, ) -> Self { - let edges = self.half_edges().iter().cloned().chain(edges); - Cycle::new(edges) + let half_edges = self.half_edges().iter().cloned().chain(half_edges); + Cycle::new(half_edges) } fn update_half_edge(