Package-level declarations

Types

Link copied to clipboard
class SplitResult(val a: Region2, val b: Region2, val splits: Set<Vec2>)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Resolves a region whose rings may self-intersect, self-touch, or overlap into an equivalent region made up of simple rings, under the nonzero fill rule: a point belongs to the result iff windingNumber around it is nonzero.

Link copied to clipboard

Finds the self-intersections (and self-touching vertices) of r and splits it at those points.

Link copied to clipboard

Splits two regions into parts based on their intersections and unions.

Link copied to clipboard