Clip the input line against the given bounds.
The line to clip.
The minimum x coordinate.
The minimum y coordinate.
The maxumum x coordinate.
The maxumum y coordinate.
Clip the given polygon against a rectangle using the Sutherland-Hodgman algorithm.
The vertices of the polygon to clip.
The extents of the rectangle to clip against.
Wrap the given line string.
The coordinates of the line string to wrap.
Wrap the given polygon.
The coordinates of the polygon to wrap.
Generated using TypeDoc
@here/harp-geometry
Overview
Algorithms and data structures needed by harp.gl to create and process geometries.