S2LaxClosedPolylineShape

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).

Constructors

this
this()
Undocumented in source.
this
this(S2Point[] vertices)
Undocumented in source.
this
this(S2Loop loop)
Undocumented in source.

Members

Functions

dimension
int dimension()
Undocumented in source. Be warned that the author may not have intended to support it.
getReferencePoint
ReferencePoint getReferencePoint()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From S2LaxLoopShape

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()

S2Shape interface:

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.

Meta