Module iron_shapes::edge[][src]

Expand description

An edge is a line segment from a start-point to a end-point.

Re-exports

pub use crate::traits::BoundingBox;
pub use crate::traits::TryBoundingBox;
pub use crate::traits::RotateOrtho;
pub use crate::traits::TryCastCoord;
pub use crate::types::Angle;
pub use crate::types::Side;
pub use crate::types::ContainsResult;

Structs

An edge (line segment) is represented by its starting point and end point.

Enums

Return type for the edge-edge intersection functions. Stores all possible results of a edge to edge intersection.

Return type for the line-line intersection functions. Stores all possible results of a line to line intersection.