Types

Link copied to clipboard
object VectorSerializer : KSerializer<DoubleVector3D>

Functions

Link copied to clipboard
open override fun add(left: DoubleVector3D, right: DoubleVector3D): DoubleVector3D
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun bindSymbol(value: String): DoubleVector3D
Link copied to clipboard
Link copied to clipboard

Vector product with right basis

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

L2 distance

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

Scalar product

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun norm(arg: DoubleVector3D): Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <V : Vector> GeometrySpace<V>.projectAlong(vector: V, normal: V, base: V): V

Project vector onto a hyperplane, which is defined by a normal and base. In 2D case it is the projection to a line, in 3d case it is the one to a plane.

Link copied to clipboard
fun <V : Vector> GeometrySpace<V>.projectToLine(vector: V, line: Line<V>): V

Project vector onto a line.

Link copied to clipboard

Use a composition of quaternions to create a rotation

Rotate a vector in a Euclidean3DSpace

Link copied to clipboard
open override fun scale(a: DoubleVector3D, value: Double): DoubleVector3D
Link copied to clipboard
open operator fun Number.times(arg: DoubleVector3D): DoubleVector3D
open operator fun DoubleVector3D.times(k: Number): DoubleVector3D
Link copied to clipboard
open operator override fun DoubleVector3D.unaryMinus(): DoubleVector3D
Link copied to clipboard
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (DoubleVector3D) -> DoubleVector3D
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Compute vector product of first and second. The basis assumed to be right-handed.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val zero: DoubleVector3D