Draghilev method revisited - Сообщения
I will use this function as it allows you to change the viewpoint in azimuth and elevation.
Thank you very much.
Fridel.
WroteDistance and projection of a point onto a parametric surface
...
Hi. Maybe it's cosmetic, or not, but the rotation matrix don't need the last column for the 2D projection. So, you don't have to use col (X*lambda, n), just multiply by lambda. That's clean up a lot the code. Also add your azimuth and elevation, which it's 145,48 degrees, without the need of Euler angles.
ParSur.sm (82 КиБ) скачан 68 раз(а).
Best regards.
Alvaro.
WroteDistance and projection of a point onto a parametric surface
ParSur.sm (74 КиБ) скачан 73 раз(а).
ParSur.pdf (619 КиБ) скачан 69 раз(а).
Projection of a curve onto a surface
Computing the projection of a point onto a surface is to find a closest point
on the surface, and projection of a curve onto a surface is the locus of all
points on the curve project onto the surface.
projection.sm (22 КиБ) скачан 77 раз(а).
projectionB.sm (34 КиБ) скачан 59 раз(а).
In fact, this whole series on the Draghilev method, 3D to 2D projections etc. is one of the most fascinating of this forum...
Remarks:
1,Unlike the previous examples, the last file does not use dragilev's method.
2.Bar structure analogy.A heavy hoop is pivotally attached to weightless rods
that rest on an uneven surface.The slope of each bar coincides with the surface
ormal at the foothold point. Consequently, the rods perceive only normal (compressive) load.
Wrote...
1,Unlike the previous examples, the last file does not use dragilev's method.
It could be interesting convert it to Dragilev's method. I don't have enough time right now.
Wrote
2.Bar structure analogy.A heavy hoop is pivotally attached to weightless rods
that rest on an uneven surface.The slope of each bar coincides with the surface
ormal at the foothold point. Consequently, the rods perceive only normal (compressive) load.
Oh! I try to understand that, but can take a while. Well, I understand now why it could be important. In the mean time, here a faster version, with some margin notes.
projection.sm (62 КиБ) скачан 64 раз(а).
projection.pdf (840 КиБ) скачан 65 раз(а).
Best regards.
Alvaro.
on PDF. your wonderful examples are very expressive and aesthetic . Thank you ,Fridel.
WroteHi,Alvaro.In my version 0.99.7610 your file is not loading. I will study your program
on PDF. your wonderful examples are very expressive and aesthetic . Thank you ,Fridel.
Hi Fridel. I check the upload file, it's ok for me. But have something wrong, because I can't upload it to the cloud version: just it do nothing. I delete the text regions with math, and substitute them with the usual math region with a line, and then can upload: https://en.smath.com/cloud/worksheet/mgSbWNUw (obviously doesn't work there because the al_nleqsol plugin fails). Here the file:
projection_without_txt_region.sm (57 КиБ) скачан 68 раз(а).
Best regards.
Alvaro.
as unicode characters.Until I understand what is the reason.
Fridel.

WroteIHi,Alvaro .In my version 0.99.7610 green dots are displayed
as unicode characters.Until I understand what is the reason.
Fridel.
Hi Friedel. Nice, you're looking the matrix as hexadecimal. It could be better than reading it in binary, like in the movie. That, or this bug:
test.sm (2 КиБ) скачан 62 раз(а).
Best regards.
Alvaro.
[ENG]
The method is sensitive to the choice of initial position. There are regions of stability and instability. The regions depend on the chosen accuracy. Not all coordinates from the regions of stability give all solutions when the sign of the additionally introduced parameter changes.
На рис. pol1 представлены две кривые и точки. Красным и зеленым цветом показаны точки начального положения для расчета пересечения по методу Драгилева. Красный цвет означает, что в результате решения значение достигли Nan (т.е. бесконечности); зеленый, что решения не достигли Nan. На рис. pol2 представлено для красной точки А расчеты с достижением Nan.
[ENG]
Figure pol1 shows the two curves and points. Red and green show the initial position points for calculating the intersection by the Dragilev method. Red indicates that the solutions reached Nan (i.e., infinity); green indicates that the solutions did not reach Nan. Figure pol2 shows for red point A the calculations with reaching Nan.
На рис. pol3 представлены три кривые и точки. Третья кривая построена через зеленую точку B. Видно что она пересекает две начальные кривые в точках пересечения 1,2,3,4
[ENG]
Figure pol3 shows three curves and points. The third curve is drawn through the green point B. You can see that it intersects the two initial curves at the intersection points 1,2,3,4
На анимации представлено изменение кривой 2 и области устойчивости и неустойчивости
[ENG]
The animation shows the change of curve 2 and the region of stability and instability
pol.avi (3 МиБ) скачан 53 раз(а).
Can be viewed here.
-
Новые сообщения
-
Нет новых сообщений