[][src]Trait plexus::graph::FaceCentroid

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

Provided methods

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

Loading content...

Implementors

impl<G> FaceCentroid for G where
    G: GraphGeometry,
    G::Vertex: AsPosition
[src]

Loading content...