DISTANCE INFORMATION CALCULATION METHOD AND ELECTRNIC DEVICE WHERE THE METHOD IS APPLIED
DRIVE
September 10, 2020
A method for calculating distance information according to the present invention includes: acquiring a current location; reading out map information of a golf course corresponding to the current location; calculating a horizontal distance to a target of the golf course from the current location by using the map information; calculating two first direction intersection where a straight line in a first direction, connecting the current location and the target, and a green boundary line of the golf course meet; calculating two second direction intersection where a straight line, which is perpendicular to the first direction and passes through the target, and the green boundary line meet; and calculating edge distances between the target and the two first direction intersection and between the target and the two second direction intersection.
Discussion in the ATmosphere