distance

fun distance(point: Vector3D): Double

Returns the distance between this line segment and a given point. For more, see StackOverflow

Return

distance between this and the point

Parameters

point

point for which the distance shall be calculated