A mobile point between two mobile points

Rumburak shared this question 5 years ago
Answered

Hi,


I have in 3D Grapher a line f and 3 mobile points A,B,C.


I want point C move only between point A and B.

How can I do this?

Best Answer
photo

polyhedroms are not objects for intersect yet. meantime you can rename the faces of cube to f1,f2,...f6 (for more comfort)

then create list1 = RemoveUndefined[Zip[Intersect[j, fac], fac, {f1, f2, f3, f4, f5, f6}]]

Comments (8)

photo
2

Create a segment between Point A and B and draw C on the segment. Then make the segment invisible.

photo
1

Excellent idea. Thank you.

photo
1

But, line intersect an cube. Intersect[cube,line] not wotk ... And line is mobile ...

photo
1

I don't understand what the problem is? Please give us more informations! And/or add the file,

photo
1

OK. Line is called j and cube a . Intersect line j with cube a is impossible for me.

photo
2

polyhedroms are not objects for intersect yet. meantime you can rename the faces of cube to f1,f2,...f6 (for more comfort)

then create list1 = RemoveUndefined[Zip[Intersect[j, fac], fac, {f1, f2, f3, f4, f5, f6}]]

photo
1

Is ok, but I need names of intersection points.

How can I do this ? I need point F move between this two points...

photo
1

Is OK.

P1=Element[list1, 1]

P2=Element[list1, 2]

This is all I need. Thank you.

photo
© 2021 International GeoGebra Institute