public class LegacyRoad extends LegacyObject
id, x, y| Constructor and Description |
|---|
LegacyRoad() |
| Modifier and Type | Method and Description |
|---|---|
int |
getHead()
Get the ID of the head node.
|
int |
getLength()
Get the length of this road in mm.
|
int |
getTail()
Get the ID of the tail node.
|
int |
getWidth()
Get the width of this road in mm.
|
void |
read(java.io.InputStream in)
Read the data for this object.
|
getID, getX, getYpublic void read(java.io.InputStream in)
throws java.io.IOException
LegacyObjectread in class LegacyObjectin - The InputStream to read.java.io.IOException - If there is a problem reading the stream.public int getHead()
public int getTail()
public int getLength()
public int getWidth()