alchemist-interfaces / it.unibo.alchemist.model.interfaces.geometry / GeometricTransformation

GeometricTransformation

interface GeometricTransformation<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

origin

Performs an absolute translation to the provided position.

abstract fun origin(position: S): Unit