1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Sweeping objects along a path to create new objects

mod curve;
mod edge;
mod face;
mod sketch;
mod vertex;

use fj_math::Vector;

/// Sweep an object along a path to create another object
pub trait Sweep {
    /// The object that is created by sweeping the implementing object
    type Swept;

    /// Sweep the object along the given path
    fn sweep(self, path: impl Into<Vector<3>>) -> Self::Swept;
}