Vector3D

interface Vector3D : Buffer<Double> , Vector, GroupElement<Vector3D, Euclidean3DSpace>

Functions

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

Properties

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

Extensions

distanceTo
Link copied to clipboard
open override fun Vector3D.distanceTo(other: Vector3D): Double
L2 distance
div
Link copied to clipboard
open operator fun Vector3D.div(k: Number): Vector3D
dot
Link copied to clipboard
open infix override fun Vector3D.dot(other: Vector3D): Double
Scalar product
minus
Link copied to clipboard
open operator fun Vector3D.minus(b: Vector3D): Vector3D
norm
Link copied to clipboard
fun Vector3D.norm(): Double
plus
Link copied to clipboard
open operator fun Vector3D.plus(b: Vector3D): Vector3D
r
Link copied to clipboard
val Vector3D.r: Double
times
Link copied to clipboard
open operator fun Vector3D.times(k: Number): Vector3D
unaryMinus
Link copied to clipboard
open operator override fun Vector3D.unaryMinus(): Vector3D
unaryPlus
Link copied to clipboard
open operator fun Vector3D.unaryPlus(): Vector3D