s2js
    Preparing search index...

    Interface ClosestEdgeQueryResult

    Represents a closest edge result from the query. Each result object represents a closest edge.

    interface ClosestEdgeQueryResult {
        distance: number;
        edgeID: number;
        shapeID: number;
    }
    Index

    Properties

    distance: number

    The distance from the target to this edge.

    edgeID: number

    Identifies the edge within the shape.

    shapeID: number

    Identifies the S2Shape containing the edge.