For instance, in the following sample, there's no ...
# language-proposals
b
For instance, in the following sample, there's no way to make
[equals]
link to the function I'm actually talking about:
Copy code
/**
     * 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