Skip to main content

DensifiedPath

A path cut into short pieces, and where each given position ended up in it.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { DensifiedPath } from "@mapcairn/core";

interface DensifiedPath

Properties​

positions​

readonly positions: readonly LatLng[];

The path's positions, including the ones added to follow the great circle.

vertices​

readonly vertices: readonly number[];

The index in positions of each given position, in order.

See also​

Source: packages/core/src/globe/greatCircle.ts:162