Package sp.kx.math.implementation.entity.geometry

Functions

Link copied to clipboard
fun Point.getDifference(that: Point): Offset
Link copied to clipboard
fun Point.moved(length: Double, angle: Double): Point
Link copied to clipboard
fun offsetOf(dX: Double, dY: Double): Offset
Link copied to clipboard
fun pointOf(x: Double, y: Double): Point
fun pointOf(x: Int, y: Int): Point
Link copied to clipboard
fun Point.toVector(offset: Offset): Vector
fun Point.toVector(finish: Point): Vector
fun Point.toVector(length: Double, angle: Double): Vector
fun Point.toVector(finish: Point, offset: Offset): Vector
Link copied to clipboard
fun Point.updated(offset: Offset): Point
fun Point.updated(dX: Double, dY: Double): Point