geoClipAntimeridian top-level property Projections

GeoStream Function(GeoStream) geoClipAntimeridian
final

A clipping function which transforms a stream such that geometries (lines or polygons) that cross the antimeridian line are cut in two, one on each side.

Typically used for pre-clipping.

{@category Projections}

Implementation

final geoClipAntimeridian = clip((_, __) => true, _clipAntimeridianLine,
    _clipAntimeridianInterpolate, [-pi, -halfPi]);