/** * Clip flat line strings to the given extent. Parts outside the extent are * dropped and a vertex is inserted where a segment crosses the boundary. A line * that leaves and re-enters the extent is split into separate parts so that * positions derived from the result (e.g. labels placed along the line) stay * within the extent. Output coordinates have a stride of 2. * @param {Array} flatCoordinates Flat coordinates. * @param {Array} ends Ends. * @param {number} stride Stride. * @param {import("../../extent.js").Extent} extent Extent to clip to. * @return {{flatCoordinates: Array, ends: Array}} Clipped flat * coordinates and ends. */ export function clipFlatLineStrings(flatCoordinates: Array, ends: Array, stride: number, extent: import("../../extent.js").Extent): { flatCoordinates: Array; ends: Array; }; //# sourceMappingURL=clip.d.ts.map