Package-level declarations

Types

Link copied to clipboard
@Serializable(with = AffineTransformationSerializer::class)
sealed class AffineTransformation(matrix: DoubleArray)
Link copied to clipboard
data class Point2D(val x: Double, val y: Double)

Functions

Link copied to clipboard
Link copied to clipboard

Combines this DoubleArray with a Point2D by appending the point's x and y coordinates.

Link copied to clipboard

Transforms this point by applying the given affine transformation matrix. The transformation applies the matrix multiplication to the point's coordinates treating the point as a homogeneous coordinate vector [x, y, 1].