Options.edgeType

Indicates whether the input edges provided to S2Builder are directed or undirected. Directed edges should be used whenever possible (see S2Builder::EdgeType for details).

If the input edges are directed, they should be oriented so that the polygon interior is to the left of all edges. This means that for a polygon with holes, the outer loops ("shells") should be directed counter-clockwise while the inner loops ("holes") should be directed clockwise. Note that S2Builder::AddPolygon() does this automatically.

DEFAULT: S2Builder::EdgeType::DIRECTED

struct Options
const
edgeType
()

Meta