You've got a loop, you've got a condition and a Boolean to check if he's touching the edge, and some statements to tell him to shout or to actually turn around.
我们有一个循环,通过一个条件和一个布尔值来判断,是否触到了边缘,还有一些语句,让它回头并咆哮。
2
In the next section, if the cluster and shapefile node that has just been printed is the home node, exit the main loop without writing edge or linkage information.
Note that the path must be a closed loop - that is, the first point of the first Edge object in the path must have the same location as the last point of the last Edge object.