package drivers; import com.bbn.openmap.proj.coords.MGRSPoint; import java.lang.Object; /** * TODO: Comment the purpose of the class. * * @author Chase Barrett * @copyright Intelligent Software Solutions (ISS) Inc. */ public class MGRSPointDriver { public static void main(String[] args) { MGRSPoint point = new MGRSPoint(12345.0f, 500000.0f, 38, 'N'); point.setAccuracy(MGRSPoint.ACCURACY_1_METER); System.out.println("1m accuracy: " + point.getMGRS()); point.setAccuracy(MGRSPoint.ACCURACY_10_METER); System.out.println("10m accuracy: " + point.getMGRS()); point.setAccuracy(MGRSPoint.ACCURACY_100_METER); System.out.println("100m accuracy: " + point.getMGRS()); point.setAccuracy(MGRSPoint.ACCURACY_1000_METER); System.out.println("1km accuracy: " + point.getMGRS()); point.setAccuracy(MGRSPoint.ACCURACY_10000_METER); System.out.println("10km accuracy: " + point.getMGRS()); } }