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.



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


  • Defines an additive identity element for Self.