Trait truck_modeling::topo_traits::MultiSweep
source · pub trait MultiSweep<P, C, S> {
type Swept;
fn multi_sweep<FP: Fn(&P) -> P, FC: Fn(&C) -> C, FS: Fn(&S) -> S, CP: Fn(&P, &P) -> C, CE: Fn(&C, &C) -> S>(
&self,
point_mapping: &FP,
curve_mapping: &FC,
surface_mapping: &FS,
connect_points: &CP,
connect_curve: &CE,
division: usize
) -> Self::Swept;
}
Expand description
Abstract multi sweeping, builds a circle-arc, a prism, a half torus, and so on.
Required Associated Types§
Required Methods§
sourcefn multi_sweep<FP: Fn(&P) -> P, FC: Fn(&C) -> C, FS: Fn(&S) -> S, CP: Fn(&P, &P) -> C, CE: Fn(&C, &C) -> S>(
&self,
point_mapping: &FP,
curve_mapping: &FC,
surface_mapping: &FS,
connect_points: &CP,
connect_curve: &CE,
division: usize
) -> Self::Swept
fn multi_sweep<FP: Fn(&P) -> P, FC: Fn(&C) -> C, FS: Fn(&S) -> S, CP: Fn(&P, &P) -> C, CE: Fn(&C, &C) -> S>(
&self,
point_mapping: &FP,
curve_mapping: &FC,
surface_mapping: &FS,
connect_points: &CP,
connect_curve: &CE,
division: usize
) -> Self::Swept
Transform topologies and connect vertices and edges in boundaries.