diff --git a/crates/fj-kernel/src/operations/insert.rs b/crates/fj-kernel/src/operations/insert.rs index f76b3d9d6..6cf0eebc4 100644 --- a/crates/fj-kernel/src/operations/insert.rs +++ b/crates/fj-kernel/src/operations/insert.rs @@ -7,6 +7,8 @@ use crate::{ storage::Handle, }; +use super::Polygon; + /// Insert an object into its respective store /// /// This is the only primitive operation that is directly understood by @@ -77,3 +79,15 @@ pub struct IsInsertedNo; impl IsInserted for IsInsertedNo { type T = T; } + +impl Insert for Polygon { + type Inserted = Polygon; + + fn insert(self, services: &mut Services) -> Self::Inserted { + Polygon { + face: self.face.insert(services), + edges: self.edges, + vertices: self.vertices, + } + } +}