Constructors

Link copied to clipboard
constructor(xp: Double, yp: Double)
constructor(c: DoubleArray)

Types

Link copied to clipboard
object Companion

Constant values and utility methods for Euclidean2DPosition.

Properties

Link copied to clipboard
open val asAngle: Double
Link copied to clipboard
@get:Nonnull
override val coordinates: DoubleArray
Link copied to clipboard
override val dimensions: Int
Link copied to clipboard
open val magnitude: Double
Link copied to clipboard
open override val x: Double
Link copied to clipboard
open override val y: Double
Link copied to clipboard
open override val zero: Euclidean2DPosition

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun coerceAtLeast(minimumMagnitude: Double): Euclidean2DPosition
Link copied to clipboard
open fun coerceAtMost(maximumMagnitude: Double): Euclidean2DPosition
Link copied to clipboard
open fun coerceIn(minimumMagnitude: Double, maximumMagnitude: Double): Euclidean2DPosition
Link copied to clipboard
Link copied to clipboard
open operator override fun div(other: Double): Euclidean2DPosition
Link copied to clipboard
open fun dot(other: Euclidean2DPosition): Double
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun fromCoordinates(coordinates: DoubleArray): Euclidean2DPosition
Link copied to clipboard
operator override fun get(dim: Int): Double
Link copied to clipboard
override fun getCoordinate(dimension: Int): Double
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
open fun isInRectangle(origin: Vector2D<*>, width: Double, height: Double): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun newFrom(x: Double, y: Double): Euclidean2DPosition
Link copied to clipboard
open override fun normal(): Euclidean2DPosition
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun surrounding(radius: Double, count: Int): List<Euclidean2DPosition>
Link copied to clipboard
Link copied to clipboard
open operator override fun times(other: Double): Euclidean2DPosition
Link copied to clipboard
open override fun toString(): String