Package mil.nga.sf.util.centroid
Class DegreesCentroid
- java.lang.Object
-
- mil.nga.sf.util.centroid.DegreesCentroid
-
public class DegreesCentroid extends Object
Centroid calculations for geometries in degrees- Since:
- 2.0.5
- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static doubleDEGREES_TO_RADIANSDegrees to Radians conversionstatic doubleRADIANS_TO_DEGREESRadians to Degrees conversion
-
Constructor Summary
Constructors Constructor Description DegreesCentroid(Geometry geometry)Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PointgetCentroid()Get the centroid pointstatic PointgetCentroid(Geometry geometry)Get the degree geometry centroid
-
-
-
Field Detail
-
RADIANS_TO_DEGREES
public static final double RADIANS_TO_DEGREES
Radians to Degrees conversion- See Also:
- Constant Field Values
-
DEGREES_TO_RADIANS
public static final double DEGREES_TO_RADIANS
Degrees to Radians conversion- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DegreesCentroid
public DegreesCentroid(Geometry geometry)
Constructor- Parameters:
geometry- geometry
-
-