Class OTSRoadNode

    • Constructor Detail

      • OTSRoadNode

        public OTSRoadNode​(Network network,
                           String id,
                           OTSPoint3D point,
                           Direction direction)
                    throws NetworkException
        Construct a new OTSRoadNode.
        Parameters:
        network - Network; the network
        id - String; name of the node
        point - OTSPoint3D location of the node
        direction - Direction; driving direction at the node
        Throws:
        NetworkException - if node already exists in the network, or if name of the node is not unique.