Crate pointy

source ·
Expand description

Pointy is a crate for 2D geometry providing points, lines, bounding boxes and affine transformations.

Structs

  • Axis-aligned bounding box
  • Iterator for points in a bounding box
  • A line
  • 2-dimensional point / vector
  • A line segment
  • An affine transform for Pt values.

Enums

  • Position relative to bounding box

Traits

  • Trait for comparing a shape with a bounding box
  • Floating point component type