public function getAbscissaByOrdinate($y)
    {
        if ($this->isVertical()) {
            return $this->getPointA()->getAbscissa();
        }
        return (($y - $this->getYIntercept()) / $this->getSlope());
    }