I am using the C library that comes with the book Astronomical Algorithms by Jean Meeus http://www.willbell.com/math/mc1.htm
This book and C library has a calculation for two planets Conjunction and Opposition but no other planet aspects. Does anyone know a method to find when two planets...