Small bugfix in CalculateEgdePoint

No match.