# visibleRuns

The parts of a placed path to draw as lines, each with at least two
points: the runs of consecutive visible points, so a line that goes over
the horizon of a globe stops there instead of cutting across the disc. A
closed path that is wholly visible comes back as one run that ends where
it began; one that is partly hidden wraps round its closing segment.

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { visibleRuns } from "@mapcairn/core";
 
function visibleRuns(path: PlacedPath): PixelPoint[][];
```

## Parameters

- `path` (`PlacedPath`)

## Returns

`PixelPoint[][]`

## See also

- [`PlacedPath`](https://docs.mapcairn.com/api/core/PlacedPath.md)
- [`PixelPoint`](https://docs.mapcairn.com/api/core/PixelPoint.md)

Source: [packages/core/src/globe/placement.ts:157](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/globe/placement.ts#L157)
