Class IntersectEllipseLine

java.lang.Object
org.jhotdraw8.geom.intersect.IntersectEllipseLine

public class IntersectEllipseLine extends Object
  • Method Details

    • intersectEllipseLine

      public static IntersectionResult intersectEllipseLine(Point2D ac, double arx, double ary, Point2D b0, Point2D b1)
      Computes the intersection between an ellipse and a line.
      Parameters:
      ac - the center of the ellipse
      arx - the x-radius of the ellipse
      ary - the y-radius of the ellipse
      b0 - point 0 of the line
      b1 - point 1 of the line
      Returns:
      computed intersection
    • intersectEllipseLineEx

      public static IntersectionResultEx intersectEllipseLineEx(Point2D ac, double arx, double ary, Point2D b0, Point2D b1)
    • intersectEllipseLine

      public static IntersectionResult intersectEllipseLine(double acx, double acy, double arx, double ary, double b0x, double b0y, double b1x, double b1y)
    • intersectEllipseLineEx

      public static IntersectionResultEx intersectEllipseLineEx(double acx, double acy, double arx, double ary, double b0x, double b0y, double b1x, double b1y)
    • intersectEllipseLineEx

      public static IntersectionResultEx intersectEllipseLineEx(double acx, double acy, double arx, double ary, double b0x, double b0y, double b1x, double b1y, double epsilon)
    • intersectEllipseLine

      public static IntersectionResult intersectEllipseLine(double cx, double cy, double rx, double ry, double x0, double y0, double x1, double y1, double epsilon)
    • intersectLineEllipse

      public static IntersectionResult intersectLineEllipse(Point2D a0, Point2D a1, AABB e)
      Computes the intersection between a line and an ellipse.

      The intersection will contain the parameters 't1' of the line in range [0,1].

      Parameters:
      a0 - point 0 of the line
      a1 - point 1 of the line
      e - the bounds of the ellipse
      Returns:
      computed intersection
    • intersectLineEllipse

      public static IntersectionResult intersectLineEllipse(Point2D a0, Point2D a1, Point2D ec, double rx, double ry)
      Computes the intersection between a line and an ellipse.

      The intersection will contain the parameters 't1' of the line in range [0,1].

      Parameters:
      a0 - point 0 of the line
      a1 - point 1 of the line
      ec - the center of the ellipse
      rx - the x-radius of the ellipse
      ry - the y-radius of the ellipse
      Returns:
      computed intersection
    • intersectLineEllipse

      public static IntersectionResult intersectLineEllipse(double x0, double y0, double x1, double y1, double cx, double cy, double rx, double ry, double epsilon)
      Parameters:
      x0 -
      y0 -
      x1 -
      y1 -
      cx -
      cy -
      rx -
      ry -
      epsilon -
      Returns:
    • intersectLineEllipseEx

      public static IntersectionResultEx intersectLineEllipseEx(double x0, double y0, double x1, double y1, double cx, double cy, double rx, double ry)
    • intersectLineEllipseEx

      public static IntersectionResultEx intersectLineEllipseEx(double x0, double y0, double x1, double y1, double cx, double cy, double rx, double ry, double epsilon)