Module 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§

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

Traits§

Zero
Defines an additive identity element for Self.