PixelFarm.VectorMath.AxisAlignedBoundingBox.this C# (CSharp) Method

this() public method

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