DefaultPoint

data class DefaultPoint<X, Y>(val x: X, val y: Y) : Point<X, Y>

Default implementation of the Point interface.

Parameters

X

The type of the x-axis values

Y

The type of the y-axis values

Constructors

Link copied to clipboard
constructor(x: X, y: Y)

Properties

Link copied to clipboard
open override val x: X

The x-axis value of this Point.

Link copied to clipboard
open override val y: Y

The y-axis value of this Point.