Module iron_shapes::point

source ·
Expand description

Points represent a location in the two dimensional plane by an x and y coordinate.

Structs

  • A point is defined by a x and y coordinate in the euclidean plane.

Traits

  • Used for immutable dereferencing operations, like *v.
  • Defines an additive identity element for Self.