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

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

Required methods

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

Loading content...

Implementors

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

Loading content...