XY

data class XY(val x: Float, val y: Float) : Vector2D<Float>

Constructors

Link copied to clipboard
constructor(x: Float, y: Float)

Properties

Link copied to clipboard
open override val size: Int
Link copied to clipboard
open override val x: Float
Link copied to clipboard
open override val y: Float

Functions

Link copied to clipboard
open fun XY.distanceTo(b: XY, zoom: Float): Dp
Link copied to clipboard
open fun XY.distanceToLine(a: XY, b: XY, zoom: Float): Dp
Link copied to clipboard
open operator override fun get(index: Int): Float
Link copied to clipboard
open override fun XY.isInsidePolygon(points: List<XY>): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<Float>
Link copied to clipboard
open override fun XY.offsetTo(b: XY, zoom: Float): DpOffset