distanceTo

abstract fun distanceTo(point: <Error class: unknown class><T>): T

Returns the distance between this shape and the given point.