Package org.meteoinfo.geoprocess
Class GeometryUtil
- java.lang.Object
-
- org.meteoinfo.geoprocess.GeometryUtil
-
public class GeometryUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GeometryUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<PointD>getEllipseCoordinates(double x0, double y0, double a, double b)Get ellipse coordinatesstatic java.util.List<PointD>getEllipseCoordinates(double x0, double y0, double a, double b, double deltaAngle)Get ellipse coordinatesstatic PointDgetEllipseXY(double x0, double y0, double a, double b, double angle)Get ellipse coordinate
-
-
-
Method Detail
-
getEllipseXY
public static PointD getEllipseXY(double x0, double y0, double a, double b, double angle)
Get ellipse coordinate- Parameters:
x0- Center xy0- Center ya- Major axisb- Minor axisangle- Angle- Returns:
- Coordinate on the ellipse
-
getEllipseCoordinates
public static java.util.List<PointD> getEllipseCoordinates(double x0, double y0, double a, double b, double deltaAngle)
Get ellipse coordinates- Parameters:
x0- Center xy0- Center ya- Major axisb- Minor axisdeltaAngle- Delta angle- Returns:
- Coordinate on the ellipse
-
getEllipseCoordinates
public static java.util.List<PointD> getEllipseCoordinates(double x0, double y0, double a, double b)
Get ellipse coordinates- Parameters:
x0- Center xy0- Center ya- Major axisb- Minor axis- Returns:
- Coordinate on the ellipse
-
-