I believe the OP was talking about two arbitrary lines, likely graphic
objects, that intersect each other. Not rectangles with points within them,
or two rectangles.
I think the only way to do this is as per the first four posts in this
thread.
Craig
--
Sent from:
http://runtime-revolution.2
> Jerry J. wrote:
> I think he mentioned curved “lines”. That is a
> whole other kettle of fish.
The OP speaks of "functions for the lines", so
either he means "math lines" or, as you say,
continuous curves, say polynomials.
Yes, this isn't solvable for polynomials of higher
degree by formulas (n
It is, and INTERSECT with them is just a distraction. Probably time (shock,
horror) to do some Mathematics.
On Mon, Sep 24, 2018, 11:36 PM Jerry Jensen via use-livecode <
use-livecode@lists.runrev.com> wrote:
> I think he mentioned curved “lines”. That is a whole other kettle of fish.
> .Jerry
>
One could have a line consisting of a graphic object (rectangle) with a
width of one. ?
On Mon, Sep 24, 2018, 10:17 PM hh via use-livecode <
use-livecode@lists.runrev.com> wrote:
> @Richmond.
>
> You (and the author) overlooked that we have, since 1.0,
> is within .
>
> _
I think he mentioned curved “lines”. That is a whole other kettle of fish.
.Jerry
> On Sep 24, 2018, at 9:23 AM, hh via use-livecode
> wrote:
>
> It is not this complicated. Only if you are looking for
> the intersection of two line *segments* you have do a
> few more checks.
@Richmond.
You (and the author) overlooked that we have, since 1.0,
is within .
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.c
I found THIS in the User contributed notes in the 7.1.4 documentation
from 2009:
"The intersect() command takes two objects as inputs. In some
situations, it may be useful to find the intersect of a point and a
rectangle. The custom function below may be used in those cases:
function pointIn
It is not this complicated. Only if you are looking for
the intersection of two line *segments* you have do a
few more checks.
A LC object "line" is a line segment given by two pairs
of points (x,y).
The OP probably mean with line the math object line that is
given by and passing through these pai
Well and good.
I repeat that in a computer screen, with fixed pixel coordinates, you will
likely need just a bit of rounding forgiveness when doing the math. You need
to write a bit of code, in other words, that will accept close matches
between the string of pixels and the calculated "points" alo
Thanks Craig, I was already afraid of that. Yes, I guess I could figure out
the math. I will have the 2 functions of the lines and if I set them equal,
I could solve the intersection point of the two. Your way is also valid,
but as I need to determine many intersection points, the script might get
Hi.
No.
But you can determine the points of a line graphic, and calculate all the
pixels it "contains" from its starting point to its ending point. Do the
same for a second line.
Then you can determine the point that seems to be common to both lines. I
say seems, because when you do the math, th
11 matches
Mail list logo