Remove `Shape::merge_shape`

It is no longer being used.
This commit is contained in:
Hanno Braun 2022-06-28 17:20:00 +02:00
parent 32d0ad95ce
commit c5cffd4562
1 changed files with 0 additions and 25 deletions

View File

@ -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.