Transformation

interface Transformation<S : Vector<S>>

Defines a generic transformation of a generic shape. The operations allowed depend on the space the shape belongs to. This interface is meant to be extended.

Functions

Link copied to clipboard
abstract fun origin(position: S)

Performs an absolute translation to the provided position.