private static bool GetPoints(Edge edge, Criterion c, out Site l, out Site r) { l = (c == Criterion.Vertex) ? edge.LeftVertex : edge.LeftSite; r = (c == Criterion.Vertex) ? edge.RightVertex : edge.RightSite; return true; }