src/Pointillism/Vec3D.cpp
double Vec3D::at(int n)
{

double Value=0;


    if(n==0)
    {
        Value=m_X;
    }
    else if(n==1)
    {
        Value=m_Y;
    }
    else if(n==2)
    {
        Value=m_Z;
    }
    else
    {
        std::cout<<"Error: index should not be larger the 2 \n";
    }
    
    


return Value; 
}
///////////////////////////  F3   x and y are the power of the x and y and last term is changing from 0 to  m_Vec3DTermno-1
F3   x and y are the power of the x and y and last term is changing from 0 to  m_Vec3DTermno-1
F3 x and y are the power of the x and y and last term is changing from 0 to m_Vec3DTermno - 1
double Vec3D::at(int n)
{
double Value=0;
    if(n==0)
    {
        Value=m_X;
    }
    else if(n==1)
    {
        Value=m_Y;
    }
    else if(n==2)
    {
        Value=m_Z;
    }
    else
    {
        std::cout<<"Error: index should not be larger the 2 \n";
    }
return Value; 
}
double Vec3D :: at ( int n ) { double Value = 0 ; if ( n == 0 ) { Value = m_X ; } else if ( n == 1 ) { Value = m_Y ; } else if ( n == 2 ) { Value = m_Z ; } else { std :: cout << " \n " ; } return Value ; }
F3   x and y are the power of the x and y and last term is changing from 0 to  m_Vec3DTermno-1
F3 x and y are the power of the x and y and last term is changing from 0 to m_Vec3DTermno - 1