Module nannou::prelude::geom::polygon

source ·

Structs

  • A simple type wrapper around a list of points that describe a polygon.
  • An iterator yielding indices into a polygon’s vertices required to triangulate the polygon.
  • An iterator that triangulates a polygon represented by a sequence of points describing its edges.

Functions

  • Returns Some with the touched triangle if the given Point is over the polygon described by the given series of points.
  • An iterator yielding indices into a polygon’s vertices required to triangulate the polygon.
  • Triangulate the polygon given as a list of Points describing its sides.