dot

fun dot(vector: Vec3): Double

Computes the dot product of this plane's components with a specified vector. Since the plane was defined with a unit normal vector, this function returns the distance of the vector from the plane.

Return

the computed dot product

Parameters

vector

the vector to dot with this plane's components