CCT.NUI.Tests.Core.Clustering.ClusterBuilder.Create2DClusterAt C# (CSharp) Method

Create2DClusterAt() public method

public Create2DClusterAt ( Point center ) : Cluster
center Point
return CCT.NUI.Core.Clustering.Cluster
        public Cluster Create2DClusterAt(Point center)
        {
            var points = new[] { new Point(center.X - 1, center.Y, center.Z), new Point(center.X + 1, center.Y, center.Z), new Point(center.X, center.Y - 1, center.Z), new Point(center.X, center.Y + 1, center.Z) };
            return new Cluster(points);
        }
    }