예제 #1
0
 protected void ReportElems(IGraphScene <IVisual, IVisualEdge> scene, IEnumerable <IVisual> elms, ILocator <IVisual> locator, AlignerOptions options)
 {
     elms
     .OrderBy(e => locator.GetLocation(e), new PointComparer {
         Delta = options.Distance.Width, Order = options.PointOrder
     })
     .ForEach(e => ReportDetail("\t{3}{0}\t{1}\t{2}", e.Data, locator.GetLocation(e), locator.GetSize(e), scene.Focused == e ? "*" : ""));
 }