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

pub trait VertexCentroid: GraphGeometry where
    Self::Vertex: AsPosition
{ fn centroid<B>(
        vertex: VertexView<B>
    ) -> Result<VertexPosition<Self>, GraphError>
    where
        B: Reborrow,
        B::Target: AsStorage<Arc<Self>> + AsStorage<Vertex<Self>> + Consistent + Geometric<Geometry = Self>
; }

Required methods

fn centroid<B>(
    vertex: VertexView<B>
) -> Result<VertexPosition<Self>, GraphError> where
    B: Reborrow,
    B::Target: AsStorage<Arc<Self>> + AsStorage<Vertex<Self>> + Consistent + Geometric<Geometry = Self>, 

Loading content...

Implementors

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

Loading content...