intersection and index of intersection point

alextrocado shared this problem 3 years ago
Solved

i'm trying to intersect a 4th degree implicit curve with a sequence of vertical lines to obtain the intersection points with every branch.

Using the intersection command with the index of intersection doesn't give us all points.

Anyone can help?

Comments (5)

photo
1

Please post your file.

I've tried right now with a classic curve and a family of lines defined by a slider (to avoid huge, continuous computation), and it seems to be working.

photo
1

My file with 3 situations that fail...

photo
photo
1

I think sometimes intersect(object,object,index) does not work when the amount of points is variable

try {intersect(a,g)}

photo
2

Problem is that

Sequence(Intersect(a, Element(L_1, i), 2), i, 1, 9)

gets rewritten as

Sequence(Intersect(a, -(x(Element(L_1, i)) / y(Element(L_1, i))) x - z(Element(L_1, i)) / y(Element(L_1, i)), 2), i, 1, 9)

The problem was fixed for the next release but given that this happens on saving you will need to recreate the file once 5.0.466.0 / 6.0.466.0 is available.

photo
1

v466 online now

© 2021 International GeoGebra Institute