pub trait EdgeIntersect {
    type Coord;
    type IntersectionCoord;

    fn edge_intersection(
        other: &Self
    ) -> EdgeIntersection<Self::Coord, Self::IntersectionCoord, Self>; }
Expand description

Define the intersection between two edges (i.e. line segments).

Required Associated Types

Numeric type used for expressing the end-point coordinates of the edge.

Numeric type used for expressing an intersection-point of two edges. Often this might be the same as Coord.

Required Methods

Compute intersection of two edges.