EdgeIterator

An iterator that advances through all edges in an S2ShapeIndex.

Example usage:

for (EdgeIterator it(index); !it.Done(); it.Next()) { auto edge = it.edge(); //... }

Constructors

this
this(S2ShapeIndex index)
Undocumented in source.

Members

Functions

debugString
string debugString()
Undocumented in source. Be warned that the author may not have intended to support it.
done
bool done()
Undocumented in source. Be warned that the author may not have intended to support it.
edge
S2Shape.Edge edge()
Undocumented in source.
edgeId
int edgeId()
Undocumented in source. Be warned that the author may not have intended to support it.
next
void next()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(EdgeIterator v)
Undocumented in source. Be warned that the author may not have intended to support it.
shapeEdgeId
ShapeEdgeId shapeEdgeId()
Undocumented in source. Be warned that the author may not have intended to support it.
shapeId
int shapeId()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta