当前位置: 首页 > 工具软件 > orekit > 使用案例 >

orekit配置

彭宏阔
2023-12-01
File home       = new File("D:/CodeProjects/eclipse_java/Orekit");
File orekitData = new File(home, "orekit-data");
if (!orekitData.exists()) {
	System.err.format(Locale.US, "Failed to find %s folder%n",
			orekitData.getAbsolutePath());
	System.err.format(Locale.US, "You need to download %s from the %s page and unzip it in %s for this tutorial to work%n",
			"orekit-data.zip", "https://www.orekit.org/forge/projects/orekit/files",
			home.getAbsolutePath());
	System.exit(1);
	}
DataProvidersManager manager = DataProvidersManager.getInstance();
manager.addProvider(new DirectoryCrawler(orekitData));

 类似资料: