Module grafen::coord [] [src]

Implement elementary coordinate operations.

Structs

Coord

A three-dimensional carthesian coordinate.

Enums

Direction

Component direction axis. Eg. for Cylinders this is the cylinder axis. For a Sheet the normal.

Traits

Periodic

Trait denoting periodic boundary condition operations on objects.

Translate

Translate an object by a Coord.

Functions

rotate_coords

Rotate a set of coordinates around an axis.

rotate_planar_coords_to_alignment

Rotate a set of coordinates from one alignment to another.