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

origin

abstract fun origin(position: S): Unit

Performs an absolute translation to the provided position.

Parameters

position - the new origin of the shape