Exemple #1
0
        public bool IsShapeEqual(DataShape shape2)
        {
            var result = true;

            if (this.Width != shape2.Width ||
                this.Height != shape2.Height ||
                this.NumberOfDimensions != shape2.NumberOfDimensions)
            {
                result = false;
            }

            return(result);
        }
Exemple #2
0
        internal DataShape Clone()
        {
            var dataShape = new DataShape(this.NumberOfDimensions, this.Width, this.Height);

            return(dataShape);
        }