Re: Intersection of 2 curves




dtshedd@xxxxxxxxx wrote:
I am trying to locate a numerical technique to find the intersection of
2 curves. These are defined by tables of data rather than equations.
The data can be fitted with a 2nd degree polynomial, and only intersect
at one point. Both curves have positive slopes, though one has a
larger slope than the other.

If the y values of each curve are all tabulated at the same x values,
just tabulate the differences. The curves intersect where the
difference changes sign. You could then interpolate between the
differences either side of zero to get a better estimate. If your
curves only have a small quadratic term, a linear interpolation might
be OK; if not, 2nd degree polynomial.

Jon

.



Relevant Pages

  • Re: Quadratic Bezier intersection (a special case)
    ... Both are monotone in the x- and y-components. ... I also need to estimate whether the curves can potentially ... intersect to get rid of expensive operations in most cases ... rather small one Q0Q1Q2, the triangle Q is completely inside in P, then ...
    (comp.graphics.algorithms)
  • Re: Ilford Multigrade IV vs. Kentmere Fineprint?
    ... I wouldn't put much faith in the published curves. ... intersect at density 0.2 to 0.4, which could be useful and ... I think I see what you mean on the Ilford curves between densities 1.0 to ...
    (rec.photo.darkroom)
  • Re: Finding crossing of Bezie curves
    ... >Just d' FAQs writes: ... two degree 3 Bezier curves may intersect in 9 ...
    (comp.graphics.algorithms)
  • Re: Quadratic Bezier intersection (a special case)
    ... Both are monotone in the x- and y-components. ... I also need to estimate whether the curves can potentially ... intersect to get rid of expensive operations in most cases ... curves may potentially intersect (false positives are OK, ...
    (comp.graphics.algorithms)
  • Inserting points at intersecting curves macro
    ... I need to write a macro that inserts points every time two curves ... intersect to each other. ... with two straight lines or one straight and one curve...I can not stand ...
    (comp.cad.solidworks)