Euclidean2DTransformation

Defines the possible Transformations for a GeometricShape in a bidimensional Euclidean space.

Functions

Link copied to clipboard
open fun origin(x: Double, y: Double)

Changes origin.

abstract fun origin(position: Euclidean2DPosition)
Link copied to clipboard
open fun rotate(direction: Euclidean2DPosition)

Rotates toward the specified direction.

abstract fun rotate(angle: Double)

Counterclockwise rotation.