diff --git a/crates/fj-kernel/src/partial/maybe_partial.rs b/crates/fj-kernel/src/partial/maybe_partial.rs index ce1ea530c..ecc6ad9ee 100644 --- a/crates/fj-kernel/src/partial/maybe_partial.rs +++ b/crates/fj-kernel/src/partial/maybe_partial.rs @@ -224,6 +224,14 @@ impl MaybePartial { Self::Partial(partial) => partial.surface(), } } + + /// Access the global form + pub fn global_form(&self) -> MaybePartial { + match self { + Self::Full(full) => full.global_form().clone().into(), + Self::Partial(partial) => partial.global_form(), + } + } } impl MaybePartial {