In general you are right, but ```getEdge()``` should return a line.