文件名称:PolygonsArea
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 8kb
- 下载次数:
- 0次
- 提 供 者:
- lai***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用第归计算多边形的面积,如果是四边形,就把它切成两个三角形,总之,只计算三角形的面积,然后把所有三角形的面积加起来就是总面积-The area of a polygon in Cartesian space is to be calculated. Each vertex of the polygon is
at a coordinate (x,y). A polygon can be divided in half creating 2 sub polygons by
adding a line between 2 non-adjacent vertices and the area of the original polygon is the
sum of the area of the sub polygons. When a polygon contains 3 sides, it is a triangle for
which a formula can be applied to calculate the area given the coordinates of the vertices.
at a coordinate (x,y). A polygon can be divided in half creating 2 sub polygons by
adding a line between 2 non-adjacent vertices and the area of the original polygon is the
sum of the area of the sub polygons. When a polygon contains 3 sides, it is a triangle for
which a formula can be applied to calculate the area given the coordinates of the vertices.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PolygonsArea\MainClass.class
............\MainClass.java
............\Polygons.jar
............\PolygonsArea.class
............\PolygonsArea.java
............\PolygonsArea.jcp
............\PolygonsArea.jcu
............\PolygonsArea.jcw
............\src_polygonsarea.txt
PolygonsArea
............\MainClass.java
............\Polygons.jar
............\PolygonsArea.class
............\PolygonsArea.java
............\PolygonsArea.jcp
............\PolygonsArea.jcu
............\PolygonsArea.jcw
............\src_polygonsarea.txt
PolygonsArea