Exemplo n.º 1
0
 internal static KtSegments2D ToSegments(this CircularStack <KtPoint2D> stackOfPoints) => MethodShortcuts.SeedProcess(
     () => stackOfPoints.Select(s => s.Value).ToList(),
     d => new KtSegments2D((d).Concat(new[] { d.FirstOrDefault() })));