Find the distance to DDA
From:
Calculate distance