Distanceable

Interface for objects that can compute the distance to another point.

Parameters

P

The type of the point to which the distance is computed.

Inheritors

Functions

Link copied to clipboard
abstract infix fun distance(other: P): Double

Compute the distance to another point.