[][src]Module nannou::geom::polygon

Structs

Polygon

A simple type wrapper around a list of points that describe a polygon.

TriangleIndices

An iterator yielding indices into a polygon's vertices required to triangulate the polygon.

Triangles

An iterator that triangulates a polygon represented by a sequence of points describing its edges.

Functions

contains

Returns Some with the touched triangle if the given Point is over the polygon described by the given series of points.

triangle_indices

An iterator yielding indices into a polygon's vertices required to triangulate the polygon.

triangles

Triangulate the polygon given as a list of Points describing its sides.