• Detect the size of the 2D-grid and return [nx, ny] if valid. Undefined otherwise.

    Parameters

    • positions: Serie<IArray>
    • eps: number = 1e-7

    Returns number[]