public static bool ContainsEdge(this IEdge a, IEdge b) { return(a.ContainsPoint(b.A) && a.ContainsPoint(b.B)); }