This is a job of Cmputational Geometry. Needed a translation from Java source code to C++ ( http://www.openprocessing.org/sketch/10888) No User Interface required . No Graphic required As Output , edges , in this form : xi,yi,zi,xj,yj,zj,flag ……. (Budget: $30-$250 USD, Jobs: C++ Programming, Mathematics)