The yellow road is undirected, and point 1 is projected to point 2, but when I print from.isOnDirectedEdge(), it says true, why?


The from is an instance of State object.