Trait fj_kernel::algorithms::sweep::Sweep
source · pub trait Sweep: Sized {
type Swept;
fn sweep_with_cache(
self,
path: impl Into<Vector<3>>,
cache: &mut SweepCache,
objects: &mut Service<Objects>
) -> Self::Swept;
fn sweep(
self,
path: impl Into<Vector<3>>,
objects: &mut Service<Objects>
) -> Self::Swept { ... }
}Expand description
Sweep an object along a path to create another object
Required Associated Types§
Required Methods§
sourcefn sweep_with_cache(
self,
path: impl Into<Vector<3>>,
cache: &mut SweepCache,
objects: &mut Service<Objects>
) -> Self::Swept
fn sweep_with_cache(
self,
path: impl Into<Vector<3>>,
cache: &mut SweepCache,
objects: &mut Service<Objects>
) -> Self::Swept
Sweep the object along the given path, using the provided cache