S2PolylineVectorLayer.Options

Undocumented in source.

Members

Aliases

DuplicateEdges
alias DuplicateEdges = GraphOptions.DuplicateEdges
Undocumented in source.
PolylineType
alias PolylineType = Graph.PolylineType
Undocumented in source.
SiblingPairs
alias SiblingPairs = GraphOptions.SiblingPairs
Undocumented in source.

Functions

duplicateEdges
DuplicateEdges duplicateEdges()

Indicates whether duplicate edges in the input should be kept (KEEP) or merged together (MERGE). Note you can use edge labels to determine which input edges were merged into a given output edge.

edgeType
S2Builder.EdgeType edgeType()

Indicates whether the input edges provided to S2Builder are directed or undirected.

polylineType
PolylineType polylineType()

Indicates whether polylines should be "paths" (which don't allow duplicate vertices, except possibly the first and last vertex) or "walks" (which allow duplicate vertices and edges).

s2debugOverride
S2Debug s2debugOverride()
Undocumented in source. Be warned that the author may not have intended to support it.
setDuplicateEdges
void setDuplicateEdges(DuplicateEdges duplicate_edges)
Undocumented in source. Be warned that the author may not have intended to support it.
setEdgeType
void setEdgeType(S2Builder.EdgeType edge_type)
Undocumented in source. Be warned that the author may not have intended to support it.
setPolylineType
void setPolylineType(PolylineType polyline_type)
Undocumented in source. Be warned that the author may not have intended to support it.
setS2debugOverride
void setS2debugOverride(S2Debug s2debug_override)
Undocumented in source. Be warned that the author may not have intended to support it.
setSiblingPairs
void setSiblingPairs(SiblingPairs sibling_pairs)
Undocumented in source.
setValidate
void setValidate(bool validate)
Undocumented in source. Be warned that the author may not have intended to support it.
siblingPairs
SiblingPairs siblingPairs()

Indicates whether sibling edge pairs (i.e., pairs consisting of an edge and its reverse edge) should be kept (KEEP) or discarded (DISCARD). For example, if a polyline backtracks on itself, the DISCARD option would cause this section of the polyline to be removed. Note that this option may cause a single polyline to split into several pieces (e.g., if a polyline has a "lollipop" shape).

validate
bool validate()

If true, calls FindValidationError() on each output polyline. If any error is found, it will be returned by S2Builder::Build().

Meta