interface RulerWaypoint {
    elevation: number;
    index: number;
    measurement: GridMeasurePathResultWaypoint;
    next: null | RulerWaypoint;
    previous: null | RulerWaypoint;
    ray: null | Ray;
    x: number;
    y: number;
}

Properties

elevation: number

The elevation in grid units.

index: number

The index of the waypoint.

The measurements at this waypoint.

next: null | RulerWaypoint

The next waypoint, if any.

previous: null | RulerWaypoint

The previous waypoint, if any.

ray: null | Ray

The ray from the center point of previous to the center point of this waypoint, or null if there is no previous waypoint.

x: number

The x-coordinate in pixels.

y: number

The y-coordinate in pixels.