[][src]Module torophy::math::toroidal

Structs

Bounds

A 2D toroidal bounds definition

Functions

min_coordinate

Computes the mininal representation of a coordinate in a toroidal space of the specified length. The computed coordinate is always between 0 and length.

min_distance

Computes the minimal analogous distance in a toroidal space of the specified length. The maximun value for this minimal distance is never greater of length / 2.