times

open operator fun times(value: Int): Vector3D
open operator fun times(value: Float): Vector3D
open operator fun times(value: Double): Vector3D

Calculates the scalar product of this vector and a value.

Return

the resulting point

Parameters

value

to scale by


open operator fun times(other: Vector3D): Double

Computes the dot-product of the two vectors

Parameters

other

vector