You will have to use some topology like found in sand box. In this example you will find that point 0 (right bottom) is connected to a single point so it means it is an end
You will have to use some topology like found in sand box. In this example you will find that point 0 (right bottom) is connected to a single point so it means it is an end