What is the easiest way to add a set number of nautical miles to a known latitude and longitude? I am writing a program in C# that takes a point of origin in decimal notation:
33.4483333, -112.0733333 (Phoenix, AZ)
What I want to to is draw a "box" around that point simulating a sort of "square radius". So if I want a 100 mile radius, I convert 100 statue miles to nautical miles, divide by 2 and add/subtract that value from the point of origin to get the upper, lower, left and right coordinates that form a box where each side is 50 statue miles from the center.
What's the easiest way to achieve this? Right now I'm converting latitude and longitude to degrees, minutes and seconds, and doing some manual calculations to determine how to adjust degrees and minutes to arrive at my desired coordinates, then converting back to decimal notation.
Is there a simpler way like converting DISTANCE (i.e. a certain number of nautical miles) into decimal notation so I can just add/subtract two decimal numbers or is what I'm doing the simplest way to achieve my desired results?