Remove fmt::Display impl for HalfEdge

It doesn't seem to be used anywhere, and it's getting in the way of my
ongoing cleanup work.
This commit is contained in:
Hanno Braun 2023-02-22 13:31:02 +01:00
parent 9ac29b0613
commit f28c2655ae

View File

@ -1,5 +1,3 @@
use std::fmt;
use fj_interop::ext::ArrayExt;
use fj_math::Point;
@ -95,16 +93,6 @@ impl HalfEdge {
}
}
impl fmt::Display for HalfEdge {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let [a, b] = self.boundary();
write!(f, "edge from {a:?} to {b:?}")?;
write!(f, " on {:?}", self.global_form().curve())?;
Ok(())
}
}
/// An undirected edge, defined in global (3D) coordinates
///
/// In contrast to [`HalfEdge`], `GlobalEdge` is undirected, meaning it has no