pub trait Sweep: Sized {
type Swept;
fn sweep_with_cache(
self,
path: impl Into<Vector<3>>,
cache: &mut SweepCache,
objects: &Objects
) -> Result<Self::Swept, ValidationError>;
fn sweep(
self,
path: impl Into<Vector<3>>,
objects: &Objects
) -> Result<Self::Swept, ValidationError> { ... }
}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: &Objects
) -> Result<Self::Swept, ValidationError>
fn sweep_with_cache(
self,
path: impl Into<Vector<3>>,
cache: &mut SweepCache,
objects: &Objects
) -> Result<Self::Swept, ValidationError>
Sweep the object along the given path, using the provided cache