diff --git a/crates/fj-kernel/src/shape/api.rs b/crates/fj-kernel/src/shape/api.rs index c9e9df626..733944715 100644 --- a/crates/fj-kernel/src/shape/api.rs +++ b/crates/fj-kernel/src/shape/api.rs @@ -99,31 +99,6 @@ impl Shape { object.merge_into(self) } - /// Merge the provided shape into this one - /// - /// Returns a [`Mapping`] that maps each object from the merged shape to the - /// merged objects in this shape. - pub fn merge_shape(&mut self, other: &Shape) { - for object in other.curves() { - object.get().merge_into(self); - } - for object in other.surfaces() { - object.get().merge_into(self); - } - for object in other.vertices() { - object.get().merge_into(self); - } - for object in other.edges() { - object.get().merge_into(self); - } - for object in other.cycles() { - object.get().merge_into(self); - } - for object in other.faces() { - object.get().merge_into(self); - } - } - /// Access an iterator over all curves /// /// The caller must not make any assumptions about the order of curves.