【文件属性】:
文件名称:computational-geometry:计算几何课程作业
文件大小:87KB
文件格式:ZIP
更新时间:2021-07-10 06:23:03
Java
计算几何
跑步
运行代码的最简单方法是使用 IntelliJ IDEA:只需打开 .iml 文件即可。
格雷厄姆扫描
Graham 扫描是一种计算平面中有限点集的凸包的方法。
使用
/* Create the set of points to work with */
final PointSet pointSet = new PointSet ();
pointSet . add( new Point2D ( - 1 , - 1 ));
pointSet . add( new Point2D ( 1 , - 1 ));
pointSet . add( new Point2D ( - 1 , 1 ));
pointSet . add( new Point2D ( 1 , 1 ));
pointSet . add( new Point2D ( 0 , 0 ));
/* Create Gra
【文件预览】:
computational-geometry-master
----.gitignore(248B)
----src()
--------ui()
--------main()
--------test()
----computational-geometry.iml(995B)
----README.md(2KB)
----demo()
--------graham-demo.gif(33KB)
--------mc-algo.png(48KB)
----.idea()
--------misc.xml(386B)
--------encodings.xml(166B)
--------vcs.xml(166B)
--------uiDesigner.xml(9KB)
--------copyright()
--------scopes()
--------codeStyleSettings.xml(395B)
--------inspectionProfiles()
--------compiler.xml(711B)
--------.name(22B)
--------modules.xml(286B)