s2.s2polyline_simplifier

Undocumented in source.

Members

Classes

S2PolylineSimplifier
class S2PolylineSimplifier

This is a helper class for simplifying polylines. It allows you to compute a maximal edge that intersects a sequence of discs, and that optionally avoids a different sequence of discs. The results are conservative in that the edge is guaranteed to intersect or avoid the specified discs using exact arithmetic (see s2predicates.h).

Meta