Crate fart_2d_geom

Source
Expand description

Two-dimensional geometry algorithms built on top of euclid.

Structs§

Enums§

  • The result of Line::intersection providing the intersection point between two line segments, if any.
  • The direction a point lies relative to a line. Returned by Line::relative_direction_of.

Functions§

  • Find the center (mean) of a set of points.
  • Are the given vertices in counter-clockwise order?
  • Convenience function for creating lines.
  • Sort the given points around the given pivot point in counter-clockwise order, starting from 12 o’clock.