AbstractEuclideanPosition

abstract class AbstractEuclideanPosition<P : AbstractEuclideanPosition<P>?> : AbstractPosition<P> , Vector<P>

N-dimensional Euclidean position.

Parameters

<P>

actual type

Functions

Link copied to clipboard
open fun angleBetween(other: S): Double
Link copied to clipboard
fun boundingBox(range: Double): List<P>
Link copied to clipboard
open fun coerceAtLeast(minimumMagnitude: Double): S
Link copied to clipboard
open fun coerceAtMost(maximumMagnitude: Double): S
Link copied to clipboard
open fun coerceIn(minimumMagnitude: Double, maximumMagnitude: Double): S
Link copied to clipboard
fun distanceTo(other: P): Double
Link copied to clipboard
fun div(other: Double): P
open fun div(other: Double): S
Link copied to clipboard
open fun dot(other: S): Double
Link copied to clipboard
fun equals(o: Any): Boolean
Link copied to clipboard
fun get(dim: Int): Double
Link copied to clipboard
fun getCoordinate(dim: Int): Double
Link copied to clipboard
fun getCoordinates(): Array<Double>
Link copied to clipboard
fun getDimensions(): Int
Link copied to clipboard
open fun getMagnitude(): Double
Link copied to clipboard
fun hashCode(): Int
Link copied to clipboard
fun minus(other: P): P
abstract fun minus(p: S): S
Link copied to clipboard
abstract fun normal(): S
Link copied to clipboard
abstract fun normalized(): S
Link copied to clipboard
fun plus(other: P): P
abstract fun plus(p: S): S
Link copied to clipboard
open fun resized(newLen: Double): S
Link copied to clipboard
fun times(other: Double): P
abstract fun times(p: Double): S
Link copied to clipboard
open fun toString(): String

Inheritors

Link copied to clipboard