Vector3D

interface Vector3D : Buffer<Double> , Vector

Functions

Link copied to clipboard
open operator override fun get(index: Int): Double
Link copied to clipboard
open operator override fun iterator(): Iterator<Double>
Link copied to clipboard
abstract override fun toString(): String

Properties

Link copied to clipboard
open override val size: Int
Link copied to clipboard
abstract val x: Double
Link copied to clipboard
abstract val y: Double
Link copied to clipboard
abstract val z: Double

Extensions

Link copied to clipboard
open override fun Vector3D.distanceTo(other: Vector3D): Double

L2 distance

Link copied to clipboard
open operator fun Vector3D.div(k: Number): Vector3D
Link copied to clipboard
open infix override fun Vector3D.dot(other: Vector3D): Double

Scalar product

Link copied to clipboard
open operator fun Vector3D.minus(arg: Vector3D): Vector3D
Link copied to clipboard
fun Vector3D.norm(): Double
Link copied to clipboard
open operator fun Vector3D.plus(arg: Vector3D): Vector3D
Link copied to clipboard
val Vector3D.r: Double
Link copied to clipboard
open operator fun Vector3D.times(k: Number): Vector3D
Link copied to clipboard
open operator override fun Vector3D.unaryMinus(): Vector3D
Link copied to clipboard
open operator fun Vector3D.unaryPlus(): Vector3D

Sources

Link copied to clipboard