mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-12 10:15:51 +00:00
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:
parent
9ac29b0613
commit
f28c2655ae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user