s2js
    Preparing search index...

    Interface RegionCovererOptions

    RegionCovererOptions allows the RegionCoverer to be configured.

    interface RegionCovererOptions {
        compactAt?: number;
        levelMod?: number;
        maxCells?: number;
        maxLevel?: number;
        memberMaxCells?: number;
        minLevel?: number;
        smallAreaEpsilon?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    compactAt?: number

    the maximum size the approximation may reach before a compaction is triggered. used to avoid OOM errors.

    65536
    
    levelMod?: number

    the levelMod to be used.

    1
    
    maxCells?: number

    the maximum desired number of cells in the approximation.

    8
    
    maxLevel?: number

    the maximum cell level to be used.

    30
    
    memberMaxCells?: number

    the maximum desired number of cells for each member of a multi-member geometry in the approximation.

    Math.max(Math.floor(maxCells / 10), 8)
    
    minLevel?: number

    the minimum cell level to be used.

    0
    
    smallAreaEpsilon?: number

    the maximum area of a shape to be considered for fast covering. used to speed up covering small shapes. area values are between 0 and 4*Pi.

    1e-6