Class NodeData

    • Constructor Detail

      • NodeData

        public NodeData​(String nodeName,
                        CartesianPoint position)
        Parameters:
        nodeName - String; name of the node
        position - CartesianPoint; position of the node
    • Method Detail

      • getNodeName

        public final String getNodeName()
        Returns:
        nodeName
      • getPosition

        public final CartesianPoint getPosition()
        Returns:
        position
      • getId

        public String getId()
        Specified by:
        getId in interface org.opentrafficsim.base.Identifiable
        Specified by:
        getId in interface NodeDataInterface
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object