S2BooleanOperation.SourceId

SourceId identifies an edge from one of the two input S2ShapeIndexes. It consists of a region id (0 or 1), a shape id within that region's S2ShapeIndex, and an edge id within that shape.

Constructors

this
this(int region_id, int shape_id, int edge_id)
Undocumented in source.
this
this(int special_edge_id)
Undocumented in source.

Members

Functions

edgeId
int edgeId()
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(SourceId other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(SourceId other)
Undocumented in source. Be warned that the author may not have intended to support it.
regionId
int regionId()
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.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta