Evaluation of Static Potential Integrals on Triangular Domains