diff --git a/fj-math/src/poly_chain.rs b/fj-math/src/poly_chain.rs index f9726384e..0c762226d 100644 --- a/fj-math/src/poly_chain.rs +++ b/fj-math/src/poly_chain.rs @@ -51,6 +51,12 @@ impl PolyChain { self } + + /// Reverse the order of points in the `PolyChain` + pub fn reverse(mut self) -> Self { + self.points.reverse(); + self + } } impl Default for PolyChain {