[][src]Trait plexus::graph::VertexCentroid

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

Provided methods

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

Loading content...

Implementors

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

Loading content...