Module iron_shapes::vector[][src]

Expand description

Two dimensional vectors are a core data type for Euclidean geometry in the plane. Vectors consist of an x and y coordinate value and describe a translation in the plane.


pub use crate::CoordinateType;
pub use crate::types::Orientation;
pub use crate::traits::Mirror;
pub use crate::traits::RotateOrtho;
pub use crate::types::Angle;


Vector defines a two dimensional vector with x and y components in the Euclidean plane.


Defines an additive identity element for Self.