public final class NodeParser extends Object
| Constructor and Description |
|---|
NodeParser() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Direction> |
calculateNodeAngles(OTSNetwork otsNetwork,
NETWORK network)
Calculate the default angles of the Nodes, in case they have not been set.
|
static void |
parseNodes(OTSNetwork otsNetwork,
NETWORK network)
Parse the Nodes.
|
public static void parseNodes(OTSNetwork otsNetwork, NETWORK network) throws NetworkException
otsNetwork - the network to insert the parsed objects innetwork - the NETWORK tagNetworkException - when the objects cannot be inserted into the network due to inconsistenciespublic static Map<String,Direction> calculateNodeAngles(OTSNetwork otsNetwork, NETWORK network)
otsNetwork - the network to insert the parsed objects innetwork - the NETWORK tagCopyright © 2014–2019 Delft University of Technology. All rights reserved.