Uses of Class
org.jhotdraw8.geom.intersect.IntersectionResult
Packages that use IntersectionResult
Package
Description
Provides classes for constructing contours around shapes.
-
Uses of IntersectionResult in org.jhotdraw8.geom.contour
Methods in org.jhotdraw8.geom.contour that return IntersectionResultModifier and TypeMethodDescriptionstatic IntersectionResultContourIntersections.intrCircle2Circle2(double radius1, Point2D.Double center1, double radius2, Point2D.Double center2) Find intersect between two circles in 2D.static IntersectionResultContourIntersections.intrLineSeg2Circle2(Point2D.Double p0, Point2D.Double p1, double radius, Point2D.Double circleCenter) Gets the intersect between a segment and a circle, returning the parametric solution t to the segment equation P(t) = v1 + t * (v2 - v1) for t = 0 to t = 1, if t < 0 or t > 1 then intersect occurs only when extending the segment out past the points given (if t < 0 intersect nearest v1, if t > 0 then intersect nearest v2), intersects are "sticky" and "snap" to tangent points, e.g. -
Uses of IntersectionResult in org.jhotdraw8.geom.intersect
Methods in org.jhotdraw8.geom.intersect that return IntersectionResultModifier and TypeMethodDescriptionstatic IntersectionResultIntersectCircleCircle.intersectCircleCircle(double c1x, double c1y, double r1, double c2x, double c2y, double r2, double epsilon) Computes the intersection between the given circles 1 and 2.static IntersectionResultIntersectCircleCircle.intersectCircleCircle(Point2D c1, double r1, Point2D c2, double r2, double epsilon) static IntersectionResultIntersectCircleEllipse.intersectCircleEllipse(double cx1, double cy1, double r1, double cx2, double cy2, double rx2, double ry2) static IntersectionResultIntersectCircleEllipse.intersectCircleEllipse(Point2D cc, double r, Point2D ec, double rx, double ry) Computes the intersection between a circle and an ellipse.static IntersectionResultIntersectCirclePoint.intersectCirclePoint(double cx, double cy, double cr, double px, double py, double pr) static IntersectionResultIntersectCirclePoint.intersectCirclePoint(double cx, double cy, double cr, double px, double py, double pr, double epsilon) static IntersectionResultIntersectCirclePoint.intersectCirclePoint(Point2D cc, double cr, Point2D pc, double pr, double epsilon) static IntersectionResultIntersectCircleCubicCurve.intersectCubicCurveCircle(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double r) static IntersectionResultIntersectCircleCubicCurve.intersectCubicCurveCircle(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double r, double epsilon) static IntersectionResultIntersectCircleCubicCurve.intersectCubicCurveCircle(Point2D p0, Point2D p1, Point2D p2, Point2D p3, Point2D c, double r) Computes the intersection between cubic bezier curve 'p' and the given circle.static IntersectionResultIntersectCubicCurveCubicCurve.intersectCubicCurveCubicCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double a3x, double a3y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y) static IntersectionResultIntersectCubicCurveCubicCurve.intersectCubicCurveCubicCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double a3x, double a3y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y, double epsilon) static IntersectionResultIntersectCubicCurveCubicCurve.intersectCubicCurveCubicCurve(Point2D a0, Point2D a1, Point2D a2, Point2D a3, Point2D b0, Point2D b1, Point2D b2, Point2D b3) Computes the intersection between cubic bezier curve 'a' and cubic bezier curve 'b'.static IntersectionResultIntersectCubicCurveCubicCurve.intersectCubicCurveCubicCurve(Point2D a0, Point2D a1, Point2D a2, Point2D a3, Point2D b0, Point2D b1, Point2D b2, Point2D b3, double epsilon) Computes the intersection between cubic bezier curve 'a' and cubic bezier curve 'b'.static IntersectionResultIntersectCubicCurveEllipse.intersectCubicCurveEllipse(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double rx, double ry) static IntersectionResultIntersectCubicCurveEllipse.intersectCubicCurveEllipse(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double rx, double ry, double epsilon) static IntersectionResultIntersectCubicCurveEllipse.intersectCubicCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D p3, Point2D ec, double rx, double ry) Computes the intersection between cubic bezier curve 'p' and the given ellipse.static IntersectionResultIntersectCubicCurveEllipse.intersectCubicCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D p3, Point2D ec, double rx, double ry, double epsilon) static IntersectionResultIntersectCubicCurveLine.intersectCubicCurveLine(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double a3x, double a3y, double b0x, double b0y, double b1x, double b1y, double epsilon) static IntersectionResultIntersectCubicCurveLine.intersectCubicCurveLine(Point2D a0, Point2D a1, Point2D a2, Point2D a3, Point2D b0, Point2D b1) Computes the intersection between cubic bezier curve 'p' and the line 'a'.static IntersectionResultIntersectCubicCurveLine.intersectCubicCurveLine(Point2D p0, Point2D p1, Point2D p2, Point2D p3, Point2D a0, Point2D a1, double epsilon) static IntersectionResultIntersectCubicCurvePoint.intersectCubicCurvePoint(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double epsilon) Computes the intersection between a quadratic bezier curve and a point with a tolerance radius.static IntersectionResultIntersectCubicCurvePolygon.intersectCubicCurvePolygon(Point2D p0, Point2D p1, Point2D p2, Point2D p3, List<Point2D.Double> points) Computes the intersection between cubic bezier curve 'p' and the given closed polygon.static IntersectionResultIntersectCubicCurveQuadCurve.intersectCubicCurveQuadCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double a3x, double a3y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y) static IntersectionResultIntersectCubicCurveQuadCurve.intersectCubicCurveQuadCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double a3x, double a3y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double epsilon) static IntersectionResultIntersectCubicCurveRay.intersectCubicCurveRay(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double a3x, double a3y, double box, double boy, double bdx, double bdy, double maxT, double epsilon) static IntersectionResultIntersectCubicCurveRay.intersectCubicCurveRay(Point2D a0, Point2D a1, Point2D a2, Point2D a3, Point2D bo, Point2D bd) Computes the intersection between cubic bezier curve 'p' and the line 'a'.static IntersectionResultIntersectCubicCurveRay.intersectCubicCurveRay(Point2D p0, Point2D p1, Point2D p2, Point2D p3, Point2D ao, Point2D ad, double maxT, double epsilon) static IntersectionResultIntersectCubicCurveRectangle.intersectCubicCurveRectangle(Point2D p0, Point2D p1, Point2D p2, Point2D p3, Point2D r0, Point2D r1) Computes the intersection between cubic bezier curve 'p' and the provided rectangle.static IntersectionResultIntersectCircleEllipse.intersectEllipseCircle(double acx, double acy, double arx, double ary, double bcx, double bcy, double br) static IntersectionResultIntersectEllipseEllipse.intersectEllipseEllipse(double cx1, double cy1, double rx1, double ry1, double cx2, double cy2, double rx2, double ry2) Computes the intersection between two ellipses.static IntersectionResultIntersectEllipseEllipse.intersectEllipseEllipse(double cx1, double cy1, double rx1, double ry1, double cx2, double cy2, double rx2, double ry2, double epsilon) static IntersectionResultIntersectEllipseEllipse.intersectEllipseEllipse(Point2D c1, double rx1, double ry1, Point2D c2, double rx2, double ry2) Computes the intersection between two ellipses.static IntersectionResultIntersectEllipseLine.intersectEllipseLine(double acx, double acy, double arx, double ary, double b0x, double b0y, double b1x, double b1y) static IntersectionResultIntersectEllipseLine.intersectEllipseLine(double cx, double cy, double rx, double ry, double x0, double y0, double x1, double y1, double epsilon) static IntersectionResultIntersectEllipseLine.intersectEllipseLine(Point2D ac, double arx, double ary, Point2D b0, Point2D b1) Computes the intersection between an ellipse and a line.static IntersectionResultIntersectEllipsePolygon.intersectEllipsePolygon(Point2D c, double rx, double ry, List<Point2D.Double> points) Computes the intersection between a circle and a polygon.static IntersectionResultIntersectEllipseQuadCurve.intersectEllipseQuadCurve(double acx, double acy, double arx, double ary, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y) static IntersectionResultIntersectEllipseRectangle.intersectEllipseRectangle(Point2D c, double rx, double ry, Point2D r1, Point2D r2) Computes the intersection between an ellipse and a rectangle.static IntersectionResultIntersectCircleLine.intersectLineCircle(double x0, double y0, double x1, double y1, double cx, double cy, double r) static IntersectionResultIntersectCircleLine.intersectLineCircle(double x0, double y0, double x1, double y1, double cx, double cy, double r, double epsilon) static IntersectionResultIntersectCircleLine.intersectLineCircle(Point2D a0, Point2D a1, Point2D c, double r, double epsilon) static IntersectionResultIntersectLineCubicCurve.intersectLineCubicCurve(double a0x, double a0y, double a1x, double a1y, double p0x, double p0y, double p1x, double p1y, double p2x, double p2y, double p3x, double p3y, double epsilon) Computes the intersection between cubic bezier curve 'p' and the line 'a'.static IntersectionResultIntersectLineCubicCurve.intersectLineCubicCurve(Point2D a0, Point2D a1, Point2D p0, Point2D p1, Point2D p2, Point2D p3, double epsilon) Computes the intersection between cubic bezier curve 'p' and the line 'a'.static IntersectionResultIntersectEllipseLine.intersectLineEllipse(double x0, double y0, double x1, double y1, double cx, double cy, double rx, double ry, double epsilon) static IntersectionResultIntersectEllipseLine.intersectLineEllipse(Point2D a0, Point2D a1, Point2D ec, double rx, double ry) Computes the intersection between a line and an ellipse.static IntersectionResultIntersectEllipseLine.intersectLineEllipse(Point2D a0, Point2D a1, AABB e) Computes the intersection between a line and an ellipse.static IntersectionResultIntersectLineLine.intersectLineLine(double a0x, double a0y, double a1x, double a1y, double b0x, double b0y, double b1x, double b1y) static IntersectionResultIntersectLinePoint.intersectLinePoint(double x0, double y0, double x1, double y1, double cx, double cy, double r) Computes the intersection between a line and a point with tolerance radius r.static IntersectionResultIntersectLineQuadCurve.intersectLineQuadCurve(double a0x, double a0y, double a1x, double a1y, double p0x, double p0y, double p1x, double p1y, double p2x, double p2y) static IntersectionResultIntersectLineQuadCurve.intersectLineQuadCurve(double a0x, double a0y, double a1x, double a1y, double p0x, double p0y, double p1x, double p1y, double p2x, double p2y, double epsilon) static IntersectionResultIntersectLineQuadCurve.intersectLineQuadCurve(Point2D a0, Point2D a1, Point2D p0, Point2D p1, Point2D p2) Computes the intersection between quadratic bezier curve 'p' and the line 'a'.static IntersectionResultIntersectPathIteratorPoint.intersectPathIteratorPoint(PathIterator pit, double px, double py, double tolerance) Intersects the given path iterator with the given point.static IntersectionResultIntersectCirclePoint.intersectPointCircle(Point2D point, Point2D center, double radius) Computes the intersection between a point and a circle.static IntersectionResultIntersectEllipsePoint.intersectPointEllipse(Point2D point, Point2D center, double rx, double ry) Computes the intersection between a point and an ellipse.static IntersectionResultIntersectCircleQuadCurve.intersectQuadCurveCircle(double x0, double y0, double x1, double y1, double x2, double y2, double cx, double cy, double r) static IntersectionResultIntersectCircleQuadCurve.intersectQuadCurveCircle(Point2D p0, Point2D p1, Point2D p2, Point2D c, double r) Computes the intersection between quadratic bezier curve 'p' and the given circle.static IntersectionResultIntersectQuadCurveCubicCurve.intersectQuadCurveCubicCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y) static IntersectionResultIntersectQuadCurveCubicCurve.intersectQuadCurveCubicCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y, double epsilon) static IntersectionResultIntersectQuadCurveCubicCurve.intersectQuadCurveCubicCurve(Point2D a0, Point2D a1, Point2D a2, Point2D b0, Point2D b1, Point2D b2, Point2D b3) Computes the intersection between a quadratic bezier curve 'a' and cubic bezier curve 'b'.static IntersectionResultIntersectQuadCurveCubicCurve.intersectQuadCurveCubicCurve(Point2D a0, Point2D a1, Point2D a2, Point2D b0, Point2D b1, Point2D b2, Point2D b3, double epsilon) static IntersectionResultIntersectEllipseQuadCurve.intersectQuadCurveEllipse(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double bcx, double bcy, double brx, double bry) static IntersectionResultIntersectEllipseQuadCurve.intersectQuadCurveEllipse(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double bcx, double bcy, double brx, double bry, double epsilon) static IntersectionResultIntersectEllipseQuadCurve.intersectQuadCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D c, double rx, double ry) Computes the intersection between quadratic bezier curve 'p' and the given ellipse.static IntersectionResultIntersectEllipseQuadCurve.intersectQuadCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D c, double rx, double ry, double epsilon) static IntersectionResultIntersectQuadCurveLine.intersectQuadCurveLine(double ax0, double ay0, double ax1, double ay1, double ax2, double ay2, double bx0, double by0, double bx1, double by1, double epsilon) static IntersectionResultIntersectQuadCurveLine.intersectQuadCurveLine(Point2D p0, Point2D p1, Point2D p2, Point2D a0, Point2D a1) Computes the intersection between quadratic bezier curve 'p' and the line 'a'.static IntersectionResultIntersectQuadCurveLine.intersectQuadCurveLine(Point2D p0, Point2D p1, Point2D p2, Point2D a0, Point2D a1, double epsilon) The code of this method has been derived from intersection.js.static IntersectionResultIntersectPointQuadCurve.intersectQuadCurvePoint(double x0, double y0, double x1, double y1, double x2, double y2, double cx, double cy, double r) Computes the intersection between a quadratic bezier curve and a point with a tolerance radius.static IntersectionResultIntersectPolygonQuadCurve.intersectQuadCurvePolygon(Point2D p0, Point2D p1, Point2D p2, List<Point2D.Double> points) Computes the intersection between quadratic bezier curve 'p' and the given closed polygon.static IntersectionResultIntersectQuadCurveQuadCurve.intersectQuadCurveQuadCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y) static IntersectionResultIntersectQuadCurveQuadCurve.intersectQuadCurveQuadCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double epsilon) static IntersectionResultIntersectQuadCurveQuadCurve.intersectQuadCurveQuadCurve(Point2D a0, Point2D a1, Point2D a2, Point2D b0, Point2D b1, Point2D b2, double epsilon) Computes the intersection between quadratic bezier curve 'a' and quadratic bezier curve 'b'.static IntersectionResultIntersectQuadCurveRay.intersectQuadCurveRay(double ax0, double ay0, double ax1, double ay1, double ax2, double ay2, double box, double boy, double bdx, double bdy, double maxT) static IntersectionResultIntersectQuadCurveRay.intersectQuadCurveRay(double ax0, double ay0, double ax1, double ay1, double ax2, double ay2, double box, double boy, double bdx, double bdy, double maxT, double epsilon) static IntersectionResultIntersectQuadCurveRay.intersectQuadCurveRay(Point2D p0, Point2D p1, Point2D p2, Point2D ao, Point2D ad, double maxT) Computes the intersection between quadratic bezier curve 'p' and the line 'a'.static IntersectionResultIntersectQuadCurveRay.intersectQuadCurveRay(Point2D p0, Point2D p1, Point2D p2, Point2D ao, Point2D ad, double maxT, double epsilon) static IntersectionResultIntersectQuadCurveRectangle.intersectQuadCurveRectangle(Point2D p0, Point2D p1, Point2D p2, Point2D r0, Point2D r1) Computes the intersection between quadratic bezier curve 'p' and the provided rectangle.static IntersectionResultIntersectRayCubicCurve.intersectRayCubicCurve(double a0x, double a0y, double a1x, double a1y, double maxT, double p0x, double p0y, double p1x, double p1y, double p2x, double p2y, double p3x, double p3y, double epsilon) Computes the intersection between cubic bezier curve 'p' and the line 'a'.static IntersectionResultIntersectRayCubicCurve.intersectRayCubicCurve(Point2D ao, Point2D ad, double maxT, Point2D p0, Point2D p1, Point2D p2, Point2D p3, double epsilon) Computes the intersection between cubic bezier curve 'p' and the line 'a'.static IntersectionResultIntersectRayQuadCurve.intersectRayQuadCurve(double aox, double aoy, double adx, double ady, double maxT, double p0x, double p0y, double p1x, double p1y, double p2x, double p2y) static IntersectionResultIntersectRayQuadCurve.intersectRayQuadCurve(double aox, double aoy, double adx, double ady, double maxT, double p0x, double p0y, double p1x, double p1y, double p2x, double p2y, double epsilon) static IntersectionResultIntersectRayQuadCurve.intersectRayQuadCurve(Point2D ao, Point2D ad, double maxT, Point2D p0, Point2D p1, Point2D p2) Computes the intersection between quadratic bezier curve 'p' and the line 'a'. -
Uses of IntersectionResult in org.jhotdraw8.geom.shape
Methods in org.jhotdraw8.geom.shape that return IntersectionResultModifier and TypeMethodDescriptionBezierPath.pathIntersection(double x, double y, double tolerance)