benleggiero
01/26/2017, 5:01 AM[equals]
link to the function I'm actually talking about:
/**
* Calls [equals] with default tolerance
*
* @param rhs The other point to compare
* @param tolerance _optional_ - The distance on either axis by which the other point must be away from this one
* before they are considered unequal
*
* @return `true` iff the two points are equal within the given tolerance
*/
@Suppress("KDocUnresolvedReference")
abstract fun equals(rhs: ComputablePoint<NumberType>): Boolean
/**
* Determines whether this point is equal to another of the same type within a certain tolerance
*
* @param rhs The other point to compare
* @param tolerance _optional_ - The distance on either axis by which the other point must be away from this one
* before they are considered unequal
*
* @return `true` iff the two points are equal within the given tolerance
*/
abstract fun equals(rhs: ComputablePoint<NumberType>, tolerance: NumberType): Boolean