[][src]Trait plexus::graph::FaceNormal

pub trait FaceNormal: GraphGeometry where
    Self::Vertex: AsPosition
{ fn normal<R, M>(ring: R) -> Result<Vector<VertexPosition<Self>>, GraphError>
    where
        R: Ring<M, Self>,
        M: Reborrow,
        M::Target: AsStorage<ArcPayload<Self>> + AsStorage<VertexPayload<Self>> + Consistent
; }

Required methods

fn normal<R, M>(ring: R) -> Result<Vector<VertexPosition<Self>>, GraphError> where
    R: Ring<M, Self>,
    M: Reborrow,
    M::Target: AsStorage<ArcPayload<Self>> + AsStorage<VertexPayload<Self>> + Consistent, 

Loading content...

Implementors

impl<G> FaceNormal for G where
    G: FaceCentroid + GraphGeometry,
    G::Vertex: AsPosition,
    Vector<VertexPosition<G>>: Cross<Output = Vector<VertexPosition<G>>>,
    VertexPosition<G>: EuclideanSpace
[src]

Loading content...