Module nannou::geom [] [src]

Re-exports

pub use self::cuboid::Cuboid;
pub use self::ellipse::Ellipse;
pub use self::graph::Graph;
pub use self::line::Line;
pub use self::polygon::Polygon;
pub use self::polyline::Polyline;
pub use self::quad::Quad;
pub use self::range::Align;
pub use self::range::Edge;
pub use self::range::Range;
pub use self::rect::Corner;
pub use self::rect::Padding;
pub use self::rect::Rect;
pub use self::tri::Tri;
pub use self::vertex::DefaultScalar;
pub use self::vertex::Vertex;
pub use self::vertex::Vertex2d;
pub use self::vertex::Vertex3d;

Modules

cuboid

Items related to cube geometry.

ellipse
graph
line
polygon
polyline

Tools for working with polylines using varying kinds of line joins and caps.

quad
range

A type for working with one-dimensional ranges.

rect
tri
vertex

Functions

bounding_cuboid

The Cuboid that bounds the given sequence of vertices.

bounding_rect

The Rect that bounds the given sequence of vertices.

centroid

The centroid (average position) of all vertices in the given iterator.