Node - Stav-Nof/The-Maze-of-Waze-part3 GitHub Wiki
This class represents a vertex in the graph and set of operations applicable on it.
Node class methods:
- getKey- return the id of the node. (every vertex get a unique key (id)).
- getLocation- return the location of the vertex as a 3D point.
- setLocation(Point3D p)- Change the vertex location
- Weight- return and change the weight of vertex.
- Info- return and change the node parent.
- Tag- return and change the color of the vertex. (used for some algorithms).