public class EdgeStore extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
class |
EdgeStore.Edge
Inner class that serves as a cursor: points to a single edge in this store, and can be moved to other indexes.
|
static class |
EdgeStore.Flag |
static interface |
EdgeStore.PointConsumer
A functional interface that consumes the points in a street geometry one by one.
|
static interface |
EdgeStore.SegmentConsumer
A functional interface that consumes segments in a street geometry one by one.
|
Modifier and Type | Field and Description |
---|---|
protected gnu.trove.list.TIntList |
flags
Flags for this edge.
|
protected gnu.trove.list.TIntList |
fromVertices
From vertices.
|
protected List<int[]> |
geometries
Geometries.
|
protected gnu.trove.list.TIntList |
lengths_mm
Length (millimeters).
|
protected gnu.trove.list.TIntList |
speeds
Speed for this edge.
|
protected gnu.trove.list.TIntList |
toVertices
To vertices.
|
Constructor and Description |
---|
EdgeStore(VertexStore vertexStore,
int initialSize) |
Modifier and Type | Method and Description |
---|---|
EdgeStore.Edge |
addStreetPair(int beginVertexIndex,
int endVertexIndex,
int edgeLengthMillimeters)
This creates the bare topological edge pair with a length.
|
void |
dump() |
EdgeStore.Edge |
getCursor() |
EdgeStore.Edge |
getCursor(int pos) |
void |
remove(int[] edgesToOmit)
Remove the specified edges from this edge store
|
protected gnu.trove.list.TIntList flags
protected gnu.trove.list.TIntList speeds
protected gnu.trove.list.TIntList fromVertices
protected gnu.trove.list.TIntList toVertices
protected gnu.trove.list.TIntList lengths_mm
protected List<int[]> geometries
public EdgeStore(VertexStore vertexStore, int initialSize)
public void remove(int[] edgesToOmit)
public EdgeStore.Edge addStreetPair(int beginVertexIndex, int endVertexIndex, int edgeLengthMillimeters)
public EdgeStore.Edge getCursor()
public EdgeStore.Edge getCursor(int pos)
public void dump()
Copyright © 2015. All rights reserved.