diff --git a/crates/fj-core/src/geometry/surface.rs b/crates/fj-core/src/geometry/surface.rs index d06cfb352..b6ea62f63 100644 --- a/crates/fj-core/src/geometry/surface.rs +++ b/crates/fj-core/src/geometry/surface.rs @@ -19,11 +19,7 @@ pub struct SurfaceGeom { impl SurfaceGeom { /// # Access the origin of the surface pub fn origin(&self) -> Point<3> { - let Self { u, .. } = self; - match u { - Path::Circle(circle) => circle.center(), - Path::Line(line) => line.origin(), - } + self.u.origin() } /// # Return the triangle at the provided point on the surface