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

Structs

Polygon

A simple type wrapper around a list of points that describe a 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.

triangles

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