S2Builder.build

Performs the requested edge splitting, snapping, simplification, etc, and then assembles the resulting edges into the requested output layers.

Returns true if all edges were assembled; otherwise sets "error" appropriately. Depending on the error, some or all output layers may have been created. Automatically resets the S2Builder state so that it can be reused.

class S2Builder
bool
build

Meta