Crate myelin_geometry

Source
Expand description

Basic linear and vector geometry for two-dimensional Euclidean geometry

Structs§

Aabb
An axix-aligned bounding box
ConvexHull
Finds the Convex Hull for a given set of Points in counter clockwise order.
Point
A point in space
Polygon
A convex polygon.
PolygonBuilder
Polygon factory, which can be used in order to configure the properties of a new polygon. Methods can be chained on it in order to configure it.
Radians
A radian confined to the range of [0.0; 2π)
Vector
A vector

Enums§

RadiansError
The reason why a Radians instance could not be created

Traits§

Intersects
Tests wether wether this shape touches, contains or is contained in another shape