[][src]Trait plexus::primitive::generate::AttributePolygonGenerator

pub trait AttributePolygonGenerator<A>: AttributeGenerator<A> + PolygonGenerator where
    A: Attribute
{ type Output: Polygonal; fn polygon_from(&self, state: &Self::State, index: usize) -> Self::Output; }

Associated Types

type Output: Polygonal

Loading content...

Required methods

fn polygon_from(&self, state: &Self::State, index: usize) -> Self::Output

Loading content...

Implementors

impl AttributePolygonGenerator<Plane> for Cube[src]

type Output = Tetragon<Plane>

impl<S> AttributePolygonGenerator<Normal<S>> for Cube where
    S: EuclideanSpace + FiniteDimensional<N = U3>, 
[src]

type Output = Tetragon<Unit<Vector<S>>>

impl<S> AttributePolygonGenerator<Normal<S>> for UvSphere where
    S: EuclideanSpace + FiniteDimensional<N = U3>,
    Scalar<S>: FloatConst
[src]

type Output = Polygon<Unit<Vector<S>>>

impl<S> AttributePolygonGenerator<Position<S>> for Cube where
    S: EuclideanSpace + FiniteDimensional<N = U3>, 
[src]

type Output = Tetragon<S>

impl<S> AttributePolygonGenerator<Position<S>> for UvSphere where
    S: EuclideanSpace + FiniteDimensional<N = U3>,
    Scalar<S>: FloatConst
[src]

type Output = Polygon<S>

Loading content...