Package net.sf.geographiclib
Class PolygonResult
java.lang.Object
net.sf.geographiclib.PolygonResult
A container for the results from PolygonArea.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
num
public int numThe number of vertices in the polygon -
perimeter
public double perimeterThe perimeter of the polygon or the length of the polyline (meters). -
area
public double areaThe area of the polygon (meters2).
-
-
Constructor Details
-
PolygonResult
public PolygonResult(int num, double perimeter, double area) Constructor- Parameters:
num
- the number of vertices in the polygon.perimeter
- the perimeter of the polygon or the length of the polyline (meters).area
- the area of the polygon (meters2).
-