public static void OneColumn <TItem, TEdge> (this Aligner <TItem, TEdge> aligner, IEnumerable <TItem> items, AlignerOptions options) where TEdge : IEdge <TItem>, TItem { if (items.Count() < 2) { return; } aligner.OneColumn(items, aligner.Locator.GetLocation(items.First()), options); }
public static void OneColumn <TItem, TEdge> (this Aligner <TItem, TEdge> aligner, IEnumerable <TItem> items, Point at, AlignerOptions options) where TEdge : IEdge <TItem>, TItem { aligner.OneColumn(items, at, options); }