diff --git a/crates/fj-core/src/algorithms/triangulate/polygon.rs b/crates/fj-core/src/algorithms/triangulate/polygon.rs index 4dea94902..cb18de13f 100644 --- a/crates/fj-core/src/algorithms/triangulate/polygon.rs +++ b/crates/fj-core/src/algorithms/triangulate/polygon.rs @@ -90,12 +90,12 @@ impl Polygon { true } - pub fn contains_exterior_edge(&self, edge: Segment<2>) -> bool { + fn contains_exterior_edge(&self, edge: Segment<2>) -> bool { self.exterior.segments().contains(&edge) || self.exterior.segments().contains(&edge.reverse()) } - pub fn contains_interior_edge(&self, edge: Segment<2>) -> bool { + fn contains_interior_edge(&self, edge: Segment<2>) -> bool { let mut contains = false; for chain in &self.interiors { @@ -113,7 +113,7 @@ impl Polygon { /// This code is being duplicated by the `Contains>` implementation /// for `Face`. It would be nice to be able to consolidate the duplication, /// but this has turned out to be difficult. - pub fn contains_point(&self, point: impl Into>) -> bool { + fn contains_point(&self, point: impl Into>) -> bool { let ray = HorizontalRayToTheRight { origin: point.into(), };