Class 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 coordinates
      static java.util.List<PointD> getEllipseCoordinates​(double x0, double y0, double a, double b, double deltaAngle)
      Get ellipse coordinates
      static PointD getEllipseXY​(double x0, double y0, double a, double b, double angle)
      Get ellipse coordinate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeometryUtil

        public GeometryUtil​()
    • Method Detail

      • getEllipseXY

        public static PointD getEllipseXY​(double x0,
                                          double y0,
                                          double a,
                                          double b,
                                          double angle)
        Get ellipse coordinate
        Parameters:
        x0 - Center x
        y0 - Center y
        a - Major axis
        b - Minor axis
        angle - 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 x
        y0 - Center y
        a - Major axis
        b - Minor axis
        deltaAngle - 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 x
        y0 - Center y
        a - Major axis
        b - Minor axis
        Returns:
        Coordinate on the ellipse