Trait truck_modeling::topo_traits::ClosedSweep
source · pub trait ClosedSweep<P, C, S>: MultiSweep<P, C, S> {
fn closed_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_curves: &CE,
division: usize
) -> Self::Swept;
}
Expand description
closed sweep, builds a closed torus, and so on.
Required Methods§
sourcefn closed_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_curves: &CE,
division: usize
) -> Self::Swept
fn closed_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_curves: &CE,
division: usize
) -> Self::Swept
Transform topologies and connect vertices and edges in boundaries.