- initialize
void initialize(S2Point[] vertices)
Initializes an S2LaxLoopShape with the given vertices.
- initialize
void initialize(S2Loop loop)
Initializes an S2LaxLoopShape from the given S2Loop, by copying its data.
- numVertices
int numVertices()
Undocumented in source. Be warned that the author may not have intended to support it.
- vertex
const(S2Point) vertex(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
- numEdges
int numEdges()
- edge
Edge edge(int e0)
Undocumented in source.
- dimension
int dimension()
Not final; overridden by S2LaxClosedPolylineShape.
- getReferencePoint
ReferencePoint getReferencePoint()
Not final; overridden by S2LaxClosedPolylineShape.
- numChains
int numChains()
Undocumented in source. Be warned that the author may not have intended to support it.
- chain
Chain chain(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
- chainEdge
Edge chainEdge(int i, int j)
Undocumented in source.
- chainPosition
ChainPosition chainPosition(int e)
Undocumented in source. Be warned that the author may not have intended to support it.
S2LaxClosedPolylineShape is like S2LaxPolylineShape except that the last vertex is implicitly joined to the first. It is also like S2LaxLoopShape except that it does not have an interior (which makes it more efficient to index).