IFClite TypeScript API
    Preparing search index...

    Interface CandidateResult

    interface CandidateResult {
        anchor: MapPoint;
        anchorBasis: "element" | "nearest-outline-point";
        anchorOffset: number;
        candidate: CandidateFact;
        caveat: LocalizedText;
        classesFound: string[];
        clearanceMargin: number | null;
        comparison: LevelComparison | null;
        drivingSample: DrivingSample | null;
        favourableWithheldBecause: string[];
        hazardClass: HazardClassDefinition | null;
        meaning: LocalizedText;
        notes: string[];
        outcome: Outcome;
        residualRisk: LocalizedText;
        samples: SampleCounts;
        samplesCompared: number;
        terrainHeight: number | null;
        unclassifiedReason?: UnclassifiedReason;
    }
    Index
    anchor: MapPoint
    anchorBasis: "element" | "nearest-outline-point"
    anchorOffset: number

    Metres the anchor was moved from the element's position to reach the outline.

    candidate: CandidateFact

    The screening caveat, with source and dataset date.

    classesFound: string[]

    Every class id found next to the element.

    clearanceMargin: number | null

    The margin used; null when it could not be sized.

    comparison: LevelComparison | null
    drivingSample: DrivingSample | null

    The sample that decides the outcome, with its numbers.

    favourableWithheldBecause: string[]

    Why a favourable outcome was not given: set when the outcome is within-class-range instead of above-mapped-class-range, or unclassified instead of no-runoff-mapped.

    hazardClass: HazardClassDefinition | null

    The class at the sample that decides the outcome; null when none.

    meaning: LocalizedText

    What the outcome establishes and what it does not.

    notes: string[]
    outcome: Outcome
    residualRisk: LocalizedText

    What this run cannot detect about the model's height reference, with its numbers (same for every element).

    samples: SampleCounts
    samplesCompared: number

    Classified samples with terrain that were compared.

    terrainHeight: number | null

    Terrain height at the deciding sample.

    unclassifiedReason?: UnclassifiedReason