[][src]Trait plexus::graph::EdgeMidpoint

pub trait EdgeMidpoint: GraphGeometry where
    Self::Vertex: AsPosition
{ fn midpoint<E, M>(edge: E) -> Result<VertexPosition<Self>, GraphError>
    where
        E: CompositeEdge<M, Self>,
        M: Reborrow,
        M::Target: AsStorage<ArcPayload<Self>> + AsStorage<EdgePayload<Self>> + AsStorage<VertexPayload<Self>> + Consistent
; }

Required methods

fn midpoint<E, M>(edge: E) -> Result<VertexPosition<Self>, GraphError> where
    E: CompositeEdge<M, Self>,
    M: Reborrow,
    M::Target: AsStorage<ArcPayload<Self>> + AsStorage<EdgePayload<Self>> + AsStorage<VertexPayload<Self>> + Consistent, 

Loading content...

Implementors

impl<G> EdgeMidpoint for G where
    G: GraphGeometry,
    G::Vertex: AsPosition,
    VertexPosition<G>: Interpolate<Output = VertexPosition<G>>, 
[src]

Loading content...