logo
pub trait FaceCentroid: GraphData 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 + Parametric<Data = Self>,
        T: ToRing<B>
; }

Required Methods

Implementors