public function __construct(array $points)
    {
        if (count($points) < 1) {
            throw new InvalidArgumentException('$points must contain at least one entry');
        }