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 @NonNull 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 @NonNull IntersectionResultIntersectCircleCircle.intersectCircleCircle(@NonNull Point2D c1, double r1, @NonNull Point2D c2, double r2, double epsilon) static @NonNull IntersectionResultIntersectCircleEllipse.intersectCircleEllipse(double cx1, double cy1, double r1, double cx2, double cy2, double rx2, double ry2) static @NonNull IntersectionResultIntersectCircleEllipse.intersectCircleEllipse(@NonNull Point2D cc, double r, @NonNull Point2D ec, double rx, double ry) Computes the intersection between a circle and an ellipse.static @NonNull 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 @NonNull IntersectionResultIntersectCirclePoint.intersectCirclePoint(@NonNull Point2D cc, double cr, @NonNull Point2D pc, double pr, double epsilon) static @NonNull 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 @NonNull 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 @NonNull IntersectionResultIntersectCircleCubicCurve.intersectCubicCurveCircle(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, @NonNull Point2D c, double r) Computes the intersection between cubic bezier curve 'p' and the given circle.static @NonNull 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 @NonNull 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 @NonNull IntersectionResultIntersectCubicCurveCubicCurve.intersectCubicCurveCubicCurve(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull Point2D a2, @NonNull Point2D a3, @NonNull Point2D b0, @NonNull Point2D b1, @NonNull Point2D b2, @NonNull Point2D b3) Computes the intersection between cubic bezier curve 'a' and cubic bezier curve 'b'.static @NonNull IntersectionResultIntersectCubicCurveCubicCurve.intersectCubicCurveCubicCurve(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull Point2D a2, @NonNull Point2D a3, @NonNull Point2D b0, @NonNull Point2D b1, @NonNull Point2D b2, @NonNull Point2D b3, double epsilon) Computes the intersection between cubic bezier curve 'a' and cubic bezier curve 'b'.static @NonNull 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 @NonNull 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 @NonNull IntersectionResultIntersectCubicCurveEllipse.intersectCubicCurveEllipse(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, @NonNull Point2D ec, double rx, double ry) Computes the intersection between cubic bezier curve 'p' and the given ellipse.static @NonNull IntersectionResultIntersectCubicCurveEllipse.intersectCubicCurveEllipse(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, @NonNull Point2D ec, double rx, double ry, double epsilon) static @NonNull 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 @NonNull IntersectionResultIntersectCubicCurveLine.intersectCubicCurveLine(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull Point2D a2, @NonNull Point2D a3, @NonNull Point2D b0, @NonNull Point2D b1) Computes the intersection between cubic bezier curve 'p' and the line 'a'.static IntersectionResultIntersectCubicCurveLine.intersectCubicCurveLine(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, @NonNull Point2D a0, @NonNull Point2D a1, double epsilon) static @NonNull 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 @NonNull IntersectionResultIntersectCubicCurvePolygon.intersectCubicCurvePolygon(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, @NonNull List<Point2D.Double> points) Computes the intersection between cubic bezier curve 'p' and the given closed polygon.static @NonNull 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 @NonNull 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 @NonNull 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 @NonNull IntersectionResultIntersectCubicCurveRay.intersectCubicCurveRay(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull Point2D a2, @NonNull Point2D a3, @NonNull Point2D bo, @NonNull Point2D bd) Computes the intersection between cubic bezier curve 'p' and the line 'a'.static IntersectionResultIntersectCubicCurveRay.intersectCubicCurveRay(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, @NonNull Point2D ao, @NonNull Point2D ad, double maxT, double epsilon) static @NonNull IntersectionResultIntersectCubicCurveRectangle.intersectCubicCurveRectangle(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, @NonNull Point2D r0, @NonNull 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 @NonNull 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 @NonNull IntersectionResultIntersectEllipseEllipse.intersectEllipseEllipse(double cx1, double cy1, double rx1, double ry1, double cx2, double cy2, double rx2, double ry2, double epsilon) static @NonNull IntersectionResultIntersectEllipseEllipse.intersectEllipseEllipse(@NonNull Point2D c1, double rx1, double ry1, @NonNull Point2D c2, double rx2, double ry2) Computes the intersection between two ellipses.static @NonNull IntersectionResultIntersectEllipseLine.intersectEllipseLine(double acx, double acy, double arx, double ary, double b0x, double b0y, double b1x, double b1y) static @NonNull IntersectionResultIntersectEllipseLine.intersectEllipseLine(double cx, double cy, double rx, double ry, double x0, double y0, double x1, double y1, double epsilon) static @NonNull IntersectionResultIntersectEllipseLine.intersectEllipseLine(@NonNull Point2D ac, double arx, double ary, @NonNull Point2D b0, @NonNull Point2D b1) Computes the intersection between an ellipse and a line.static @NonNull IntersectionResultIntersectEllipsePolygon.intersectEllipsePolygon(@NonNull Point2D c, double rx, double ry, @NonNull List<Point2D.Double> points) Computes the intersection between a circle and a polygon.static @NonNull IntersectionResultIntersectEllipseQuadCurve.intersectEllipseQuadCurve(double acx, double acy, double arx, double ary, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y) static @NonNull IntersectionResultIntersectEllipseRectangle.intersectEllipseRectangle(@NonNull Point2D c, double rx, double ry, @NonNull Point2D r1, @NonNull Point2D r2) Computes the intersection between an ellipse and a rectangle.static @NonNull IntersectionResultIntersectCircleLine.intersectLineCircle(double x0, double y0, double x1, double y1, double cx, double cy, double r) static @NonNull IntersectionResultIntersectCircleLine.intersectLineCircle(double x0, double y0, double x1, double y1, double cx, double cy, double r, double epsilon) static IntersectionResultIntersectCircleLine.intersectLineCircle(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull Point2D c, double r, double epsilon) static @NonNull 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 @NonNull IntersectionResultIntersectLineCubicCurve.intersectLineCubicCurve(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, double epsilon) Computes the intersection between cubic bezier curve 'p' and the line 'a'.static @NonNull IntersectionResultIntersectEllipseLine.intersectLineEllipse(double x0, double y0, double x1, double y1, double cx, double cy, double rx, double ry, double epsilon) static @NonNull IntersectionResultIntersectEllipseLine.intersectLineEllipse(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull Point2D ec, double rx, double ry) Computes the intersection between a line and an ellipse.static @NonNull IntersectionResultIntersectEllipseLine.intersectLineEllipse(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull 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 @NonNull 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 @NonNull IntersectionResultIntersectLineQuadCurve.intersectLineQuadCurve(double a0x, double a0y, double a1x, double a1y, double p0x, double p0y, double p1x, double p1y, double p2x, double p2y) static @NonNull 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 @NonNull IntersectionResultIntersectLineQuadCurve.intersectLineQuadCurve(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2) Computes the intersection between quadratic bezier curve 'p' and the line 'a'.static @NonNull IntersectionResultIntersectPathIteratorPoint.intersectPathIteratorPoint(@NonNull PathIterator pit, double px, double py, double tolerance) Intersects the given path iterator with the given point.static @NonNull IntersectionResultIntersectCirclePoint.intersectPointCircle(@NonNull Point2D point, @NonNull Point2D center, double radius) Computes the intersection between a point and a circle.static @NonNull IntersectionResultIntersectEllipsePoint.intersectPointEllipse(@NonNull Point2D point, @NonNull Point2D center, double rx, double ry) Computes the intersection between a point and an ellipse.static @NonNull IntersectionResultIntersectCircleQuadCurve.intersectQuadCurveCircle(double x0, double y0, double x1, double y1, double x2, double y2, double cx, double cy, double r) static @NonNull IntersectionResultIntersectCircleQuadCurve.intersectQuadCurveCircle(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D c, double r) Computes the intersection between quadratic bezier curve 'p' and the given circle.static @NonNull 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 @NonNull IntersectionResultIntersectQuadCurveCubicCurve.intersectQuadCurveCubicCurve(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull Point2D a2, @NonNull Point2D b0, @NonNull Point2D b1, @NonNull Point2D b2, @NonNull Point2D b3) Computes the intersection between a quadratic bezier curve 'a' and cubic bezier curve 'b'.static IntersectionResultIntersectQuadCurveCubicCurve.intersectQuadCurveCubicCurve(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull Point2D a2, @NonNull Point2D b0, @NonNull Point2D b1, @NonNull Point2D b2, @NonNull Point2D b3, double epsilon) static @NonNull IntersectionResultIntersectEllipseQuadCurve.intersectQuadCurveEllipse(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double bcx, double bcy, double brx, double bry) static @NonNull 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 @NonNull IntersectionResultIntersectEllipseQuadCurve.intersectQuadCurveEllipse(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D c, double rx, double ry) Computes the intersection between quadratic bezier curve 'p' and the given ellipse.static @NonNull IntersectionResultIntersectEllipseQuadCurve.intersectQuadCurveEllipse(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D c, double rx, double ry, double epsilon) static @NonNull 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 @NonNull IntersectionResultIntersectQuadCurveLine.intersectQuadCurveLine(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D a0, @NonNull Point2D a1) Computes the intersection between quadratic bezier curve 'p' and the line 'a'.static IntersectionResultIntersectQuadCurveLine.intersectQuadCurveLine(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D a0, @NonNull Point2D a1, double epsilon) The code of this method has been derived from intersection.js.static @NonNull 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 @NonNull IntersectionResultIntersectPolygonQuadCurve.intersectQuadCurvePolygon(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull List<Point2D.Double> points) Computes the intersection between quadratic bezier curve 'p' and the given closed polygon.static @NonNull 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 @NonNull 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 @NonNull IntersectionResultIntersectQuadCurveQuadCurve.intersectQuadCurveQuadCurve(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull Point2D a2, @NonNull Point2D b0, @NonNull Point2D b1, @NonNull Point2D b2, double epsilon) Computes the intersection between quadratic bezier curve 'a' and quadratic bezier curve 'b'.static @NonNull 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 @NonNull 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 @NonNull IntersectionResultIntersectQuadCurveRay.intersectQuadCurveRay(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D ao, @NonNull Point2D ad, double maxT) Computes the intersection between quadratic bezier curve 'p' and the line 'a'.static IntersectionResultIntersectQuadCurveRay.intersectQuadCurveRay(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D ao, @NonNull Point2D ad, double maxT, double epsilon) static @NonNull IntersectionResultIntersectQuadCurveRectangle.intersectQuadCurveRectangle(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D r0, @NonNull Point2D r1) Computes the intersection between quadratic bezier curve 'p' and the provided rectangle.static @NonNull 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 @NonNull IntersectionResultIntersectRayCubicCurve.intersectRayCubicCurve(@NonNull Point2D ao, @NonNull Point2D ad, double maxT, @NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, double epsilon) Computes the intersection between cubic bezier curve 'p' and the line 'a'.static @NonNull 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 @NonNull 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 @NonNull IntersectionResultIntersectRayQuadCurve.intersectRayQuadCurve(@NonNull Point2D ao, @NonNull Point2D ad, double maxT, @NonNull Point2D p0, @NonNull Point2D p1, @NonNull 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)