Module iron_shapes::edge_rational[][src]

Expand description

Edge intersection functions for rational coordinates.

Some computations on edges can be performed exactly when the coordinates have rational type. For example the intersection of two edges with rational coordinates can be expressed exactly as a point with rational coordinates.

This modules contains implementations of such computations that take edges with rational coordinates and produce an output in rational coordinates.

Re-exports

pub use crate::edge::Edge;
pub use crate::edge::LineIntersection;
pub use crate::edge::EdgeIntersection;