java.lang.Object
org.jhotdraw8.geom.intersect.IntersectCubicCurveRay
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull IntersectionResultintersectCubicCurveRay(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(@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(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, @NonNull Point2D ao, @NonNull Point2D ad, double maxT, double epsilon) static IntersectionResultExintersectCubicCurveRayEx(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 maxT) static IntersectionResultExintersectCubicCurveRayEx(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 maxT, double epsilon)
-
Method Details
-
intersectCubicCurveRay
public static @NonNull IntersectionResult 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) -
intersectCubicCurveRay
public static @NonNull IntersectionResult 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'.- Parameters:
a0- control point P0 of 'p'a1- control point P1 of 'p'a2- control point P2 of 'p'a3- control point P3 of 'p'bo- point 0 of ray 'b'bd- direction of ray 'b'- Returns:
- the computed intersection
-
intersectCubicCurveRay
public static IntersectionResult intersectCubicCurveRay(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, @NonNull Point2D ao, @NonNull Point2D ad, double maxT, double epsilon) - Parameters:
p0-p1-p2-p3-ao-ad-maxT-epsilon-- Returns:
-
intersectCubicCurveRayEx
public static IntersectionResultEx intersectCubicCurveRayEx(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 maxT, double epsilon) -
intersectCubicCurveRayEx
public static IntersectionResultEx intersectCubicCurveRayEx(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 maxT)
-