public class MlgExtension
extends de.cm.osm2po.primitives.VarByteArray
Constructor and Description |
---|
MlgExtension() |
MlgExtension(byte nLevels,
float maxCellSize,
byte[] data)
Konstruktor.
|
Modifier and Type | Method and Description |
---|---|
float |
getMaxCellSize() |
byte |
getNumberOfLevels() |
MlgExtension |
readFromStream(de.cm.osm2po.primitives.InStream inStream)
De-Serialisiert dieses Objekt aus einem Cache-Stream.
|
java.lang.String |
toString() |
void |
writeToStream(de.cm.osm2po.primitives.OutStream outStream)
Serialisiert dieses Objekt in einen Stream.
|
public MlgExtension()
public MlgExtension(byte nLevels, float maxCellSize, byte[] data)
nLevels
- Anzahl Levels 1-127.maxCellSize
- hoechste MultiLevel-Grid-Ausdehnung.data
- byte[]public float getMaxCellSize()
public byte getNumberOfLevels()
public void writeToStream(de.cm.osm2po.primitives.OutStream outStream)
de.cm.osm2po.primitives.Var
writeToStream
in interface de.cm.osm2po.primitives.Var<de.cm.osm2po.primitives.VarByteArray>
writeToStream
in class de.cm.osm2po.primitives.VarByteArray
outStream
- OutStream
public MlgExtension readFromStream(de.cm.osm2po.primitives.InStream inStream)
de.cm.osm2po.primitives.Var
readFromStream
in interface de.cm.osm2po.primitives.Var<de.cm.osm2po.primitives.VarByteArray>
readFromStream
in class de.cm.osm2po.primitives.VarByteArray
inStream
- InStream
this
zurueckgeben.public java.lang.String toString()
toString
in class de.cm.osm2po.primitives.VarByteArray