rapid-sdk
    Preparing search index...

    Interface Closest

    An Object containing index, distance, and point properties

    interface Closest {
        distance: number;
        index: number;
        point: Vec2;
    }
    Index

    Properties

    Properties

    distance: number

    distance from point to path

    index: number

    index of segment along path

    point: Vec2

    point along path