s2.builder.util.s2polygon_layer

Undocumented in source.

Members

Aliases

DegenerateEdges
alias DegenerateEdges = GraphOptions.DegenerateEdges
Undocumented in source.
DuplicateEdges
alias DuplicateEdges = GraphOptions.DuplicateEdges
Undocumented in source.
LoopType
alias LoopType = Graph.LoopType
Undocumented in source.
SiblingPairs
alias SiblingPairs = GraphOptions.SiblingPairs
Undocumented in source.

Classes

IndexedS2PolygonLayer
class IndexedS2PolygonLayer

Like S2PolygonLayer, but adds the polygon to a MutableS2ShapeIndex (if the polygon is non-empty).

S2PolygonLayer
class S2PolygonLayer

A layer type that assembles edges (directed or undirected) into an S2Polygon. Returns an error if the edges cannot be assembled into loops.

Meta