public class AreaAndPerimeterCalculator
extends java.lang.Object
Constructor and Description |
---|
AreaAndPerimeterCalculator() |
Modifier and Type | Method and Description |
---|---|
double |
area(Geometry geom,
IProjection proj,
int areaUnits) |
double |
distanceWorld(java.awt.geom.Point2D pt1,
java.awt.geom.Point2D pt2,
IProjection proj,
int distanceUnits) |
java.util.ArrayList |
getXY(Geometry geometry) |
double |
perimeter(Geometry geom,
IProjection proj,
int distanceUnits) |
double |
returnCoordsArea(java.lang.Double[] xs,
java.lang.Double[] ys,
java.awt.geom.Point2D point,
int areaUnits)
Calcula el área.
|
public double perimeter(Geometry geom, IProjection proj, int distanceUnits)
public double area(Geometry geom, IProjection proj, int areaUnits)
public double distanceWorld(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2, IProjection proj, int distanceUnits)
public double returnCoordsArea(java.lang.Double[] xs, java.lang.Double[] ys, java.awt.geom.Point2D point, int areaUnits)
xs
- ys
- point
- areaUnits
- public java.util.ArrayList getXY(Geometry geometry)