alchemist-interfaces / it.unibo.alchemist.model.interfaces.geometry / GeometricShape / transformed

transformed

abstract fun transformed(transformation: A.() -> Unit): GeometricShape<S, A>

Transforms the shape.

Parameters

transformation - describes the transformations to apply to the shape

Return
a copy of the shape transformed accordingly