/// <summary>
        /// Gets the density at the given chunk position.
        /// </summary>
        /// <param name="pos">The chunk position.</param>
        /// <returns>The density.</returns>
        public byte GetDensity(Vector3I pos)
        {
            TerrainPoint point = this.Points[pos.X, pos.Y];

            if (point != null)
            {
                return(point.GetDensity(pos.Z));
            }
            else
            {
                return(TerrainPoint.DensityMax);
            }
        }