True if the first and last point equals in 2D within toleranceHoriz.
toleranceHoriz
@override bool isClosedBy(num toleranceHoriz) => length >= 2 && first.equals2D(last, toleranceHoriz: toleranceHoriz);