Module iron_shapes::vector
source · 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.
Re-exports
pub use crate::traits::Mirror;pub use crate::traits::RotateOrtho;pub use crate::types::Angle;pub use crate::types::Orientation;pub use crate::CoordinateType;
Structs
Vectordefines a two dimensional vector with x and y components in the Euclidean plane.
Traits
- Defines an additive identity element for
Self.