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