fj_core/operations/reverse/mod.rs
1//! Reverse the direction/orientation of objects
2
3use crate::Core;
4
5mod cycle;
6mod edge;
7mod face;
8mod region;
9
10/// Reverse the direction/orientation of an object
11pub trait Reverse {
12 /// Reverse the direction/orientation of the object
13 #[must_use]
14 fn reverse(&self, core: &mut Core) -> Self;
15}
16
17/// Reverse the direction of the curve coordinate systems within an object
18pub trait ReverseCurveCoordinateSystems {
19 /// Reverse the direction of the curve coordinate systems within an object
20 ///
21 /// This will not have any effect on object positions in global coordinates.
22 #[must_use]
23 fn reverse_curve_coordinate_systems(&self, core: &mut Core) -> Self;
24}