1
2
3
4
5
6
7
8
9
10
11
12
13
//! Reverse the direction/orientation of objects

use crate::{objects::Objects, validate::ValidationError};

mod cycle;
mod edge;
mod face;

/// Reverse the direction/orientation of an object
pub trait Reverse: Sized {
    /// Reverse the direction/orientation of the object
    fn reverse(self, objects: &Objects) -> Result<Self, ValidationError>;
}