public Vector3 this[int index] { get { if (index == 0) { return minXYZ; } else if (index == 1) { return maxXYZ; } else { throw new IndexOutOfRangeException(); } } }