integreate direct distance entry by Robert S

http://www.qcad.org/rsforum/viewtopic.php?f=107&t=2590&view=unread#unread