[−][src]Trait plexus::geometry::compose::EdgeMidpoint
Associated Types
type Midpoint
Required methods
fn midpoint<M>(edge: EdgeView<M, Self>) -> Result<Self::Midpoint, GraphError> where
M: Reborrow,
M::Target: AsStorage<ArcPayload<Self>> + AsStorage<EdgePayload<Self>> + AsStorage<VertexPayload<Self>>,
M: Reborrow,
M::Target: AsStorage<ArcPayload<Self>> + AsStorage<EdgePayload<Self>> + AsStorage<VertexPayload<Self>>,
Implementors
impl<G> EdgeMidpoint for G where
G: Geometry,
G::Vertex: AsPosition,
VertexPosition<G>: Clone + Interpolate,
[src]
G: Geometry,
G::Vertex: AsPosition,
VertexPosition<G>: Clone + Interpolate,
type Midpoint = <VertexPosition<G> as Interpolate>::Output
fn midpoint<M>(edge: EdgeView<M, Self>) -> Result<Self::Midpoint, GraphError> where
M: Reborrow,
M::Target: AsStorage<ArcPayload<Self>> + AsStorage<EdgePayload<Self>> + AsStorage<VertexPayload<Self>>,
[src]
M: Reborrow,
M::Target: AsStorage<ArcPayload<Self>> + AsStorage<EdgePayload<Self>> + AsStorage<VertexPayload<Self>>,