util-math / io.github.sof3.graphmine.util.math / Vector3 / distanceTo
infix fun distanceTo(that: Vector3): Double
infix fun distanceTo(that:
Vector3
):
Double
Calculates the distance between this and that.
this
Use distanceSquared if only comparison is needed for less computation.