Avoid use of Curve::global_form

This commit is contained in:
Hanno Braun 2023-02-21 13:03:31 +01:00
parent 599008b865
commit a52fc9ca69

View File

@ -64,7 +64,7 @@ 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.curve().global_form())?;
write!(f, " on {:?}", self.global_form().curve())?;
Ok(())
}