Trait truck_rendimpl::modeling::MultiSweep[][src]

pub trait MultiSweep<P, C, S> {
    type Swept;
    pub fn multi_sweep<FP, FC, FS, CP, CE>(
        &self,
        point_mapping: &FP,
        curve_mapping: &FC,
        surface_mapping: &FS,
        connect_points: &CP,
        connect_curve: &CE,
        division: usize
    ) -> Self::Swept
    where
        FS: Fn(&S) -> S,
        FP: Fn(&P) -> P,
        FC: Fn(&C) -> C,
        CP: Fn(&P, &P) -> C,
        CE: Fn(&C, &C) -> S
; }

Abstract multi sweeping, builds a circle-arc, a prism, a half torus, and so on.

Associated Types

type Swept[src]

The struct of sweeped topology.

Loading content...

Required methods

pub fn multi_sweep<FP, FC, FS, CP, CE>(
    &self,
    point_mapping: &FP,
    curve_mapping: &FC,
    surface_mapping: &FS,
    connect_points: &CP,
    connect_curve: &CE,
    division: usize
) -> Self::Swept where
    FS: Fn(&S) -> S,
    FP: Fn(&P) -> P,
    FC: Fn(&C) -> C,
    CP: Fn(&P, &P) -> C,
    CE: Fn(&C, &C) -> S, 
[src]

Transform topologies and connect vertices and edges in boundaries.

Loading content...

Implementations on Foreign Types

impl<P, C, S> MultiSweep<P, C, S> for Shell<P, C, S>[src]

type Swept = Vec<Result<Solid<P, C, S>, Error>, Global>

impl<P, C, S> MultiSweep<P, C, S> for Vertex<P>[src]

type Swept = Wire<P, C>

impl<P, C, S> MultiSweep<P, C, S> for Face<P, C, S>[src]

type Swept = Solid<P, C, S>

impl<P, C, S> MultiSweep<P, C, S> for Edge<P, C>[src]

type Swept = Shell<P, C, S>

impl<P, C, S> MultiSweep<P, C, S> for Wire<P, C>[src]

type Swept = Shell<P, C, S>

Loading content...

Implementors

Loading content...