diff --git a/crates/fj-kernel/src/builder/cycle.rs b/crates/fj-kernel/src/builder/cycle.rs index c0a848daf..e3f052e70 100644 --- a/crates/fj-kernel/src/builder/cycle.rs +++ b/crates/fj-kernel/src/builder/cycle.rs @@ -16,11 +16,6 @@ pub struct CycleBuilder { } impl CycleBuilder { - /// Create an instance of `CycleBuilder` - pub fn new() -> Self { - Self::default() - } - /// Create a cycle whose half-edges are connected to the provided half-edges /// /// The half-edges of the new circle will be coincident with the provided @@ -46,25 +41,6 @@ impl CycleBuilder { Self { half_edges } } - /// Create a polygon - pub fn polygon(points: Ps, services: &mut Services) -> Self - where - P: Into>, - Ps: IntoIterator, - Ps::IntoIter: Clone + ExactSizeIterator, - { - let half_edges = points - .into_iter() - .map(Into::into) - .circular_tuple_windows() - .map(|(start, end)| { - HalfEdge::line_segment([start, end], None, services) - }) - .collect(); - - Self { half_edges } - } - /// Build the cycle pub fn build(self, services: &mut Services) -> Cycle { let half_edges = self