de.cm.osm2po.routing
Class RoutingResultSegment
java.lang.Object
de.cm.osm2po.routing.RoutingResultSegment
- All Implemented Interfaces:
- de.cm.osm2po.primitives.Var
public final class RoutingResultSegment
- extends java.lang.Object
- implements de.cm.osm2po.primitives.Var
Kapselt das Segment-Resultat nach einem Routing.
- Author:
- (c) 2012 - Carsten Moeller - info@osm2po
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RoutingResultSegment
public RoutingResultSegment()
setEdgeId
public void setEdgeId(int edgeId)
getCoords
public de.cm.osm2po.model.LatLons getCoords()
setCoords
public void setCoords(de.cm.osm2po.model.LatLons coords)
getName
public de.cm.osm2po.primitives.VarString getName()
setName
public void setName(de.cm.osm2po.primitives.VarString name)
getStreetName
public java.lang.String getStreetName()
getLatLons
public de.cm.osm2po.model.LatLon[] getLatLons()
getSourceId
public int getSourceId()
setSourceId
public void setSourceId(int sourceId)
getTargetId
public int getTargetId()
setTargetId
public void setTargetId(int targetId)
getH
public float getH()
setH
public void setH(float h)
getKm
public float getKm()
setKm
public void setKm(float km)
getFlags
public int getFlags()
setFlags
public void setFlags(int flags)
getNoTurnBits
public byte getNoTurnBits()
setNoTurnBits
public void setNoTurnBits(byte noTurnBits)
getId
public int getId()
isWrongWay
public boolean isWrongWay()
isOneWay
public boolean isOneWay()
isReverse
public boolean isReverse()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
readFromStream
public de.cm.osm2po.primitives.Var readFromStream(de.cm.osm2po.primitives.InStream inStream)
- Description copied from interface:
de.cm.osm2po.primitives.Var
- De-Serialisiert dieses Objekt aus einem Cache-Stream.
- Specified by:
readFromStream
in interface de.cm.osm2po.primitives.Var
- Parameters:
inStream
- InStream
- Returns:
- Sollte this zurueckgeben.
writeToStream
public void writeToStream(de.cm.osm2po.primitives.OutStream outStream)
- Description copied from interface:
de.cm.osm2po.primitives.Var
- Serialisiert dieses Objekt in einen Stream.
- Specified by:
writeToStream
in interface de.cm.osm2po.primitives.Var
- Parameters:
outStream
- OutStream