The abscissae of the two points A and B are the roots of the equation x^2+2ax-b^2=0 and their ordinates are roots of the equation y^2+2py-q^2=0. Then the equation of the circle with AB as diameter is given by
A. \({x}^{2}+{y}^{2}-2ax-2py+({b}^{2}+{q}^{2})=0\)
B. \({x}^{2}+{y}^{2}-2ax-2py-({b}^{2}+{q}^{2})=0\)
C. \({x}^{2}+{y}^{2}+2ax+2py+({b}^{2}+{q}^{2})=0\)
D. \({x}^{2}+{y}^{2}+2ax+2py-({b}^{2}+{q}^{2})=0\)