/// <summary> /// /// </summary> /// <typeparam name="V"></typeparam> /// <typeparam name="E"></typeparam> /// <typeparam name="K"></typeparam> /// <param name="start"></param> /// <param name="getKey"></param> /// <returns></returns> public static IEnumerable <E> WalkToMax <V, E, K>(this HeStructure <V, E> .Halfedge start, Func <E, K> getKey) where V : HeStructure <V, E> .Vertex where E : HeStructure <V, E> .Halfedge where K : IComparable <K> { return(GraphSearch.WalkToMax(start.Self, GetConnected <V, E>, getKey)); }
/// <summary> /// /// </summary> /// <typeparam name="V"></typeparam> /// <typeparam name="E"></typeparam> /// <typeparam name="F"></typeparam> /// <typeparam name="K"></typeparam> /// <param name="start"></param> /// <param name="getKey"></param> /// <returns></returns> public static IEnumerable <F> WalkToMax <V, E, F, K>(this HeStructure <V, E, F> .Face start, Func <F, K> getKey) where V : HeStructure <V, E, F> .Vertex where E : HeStructure <V, E, F> .Halfedge where F : HeStructure <V, E, F> .Face where K : IComparable <K> { return(GraphSearch.WalkToMax(start.Self, f => f.AdjacentFaces, getKey)); }