[GiDlist] Circle Problem - Follow up example
Posted: Wed Jun 25, 2003 7:02 am
Hello:
I was asked to submit a specific example regarding the circle problem
mentioned earlier. Here's one that's illustrative:
- Create 3 circle objects centered in 0,0 with radii 1, 0.5, and 0.25 and
delete the surfaces.
- Create two lines to connect points (-1.1, 0.025) to (1.1, 0.025) and
(-1.1, -0.025) to (1.1, -0.025)
(these are two parallel lines to Ox with Y=0.025 and Y=-0.025)
- Make 3 copies of these lines by successive 45deg. rotations about
(0,0). You end up with 8 lines.
- Do all the line intersections (16 per circle)
Now, measure the distance between the two points obtained by intersecting
one line with one circle (we'll say that two parallel lines form a
pair). Measure one pair, then the next, etc. Using GiD 7.2 on my windoze
xp laptop, here is what I find:
For disc 1 (large):
1.99932
1.99932
1.99751
1.99751
1.99932
1.99932
1.99919
1.99919
For disc 2 (intermediate):
0.998624
0.998624
0.998425
0.998425
0.998634
0.998634
0.996863
0.996863
For disc 3 (small):
0.497494
0.497450
0.497001
0.497494
0.497494
0.497330
0.496836
0.496782
In all cases, variations of the third decimal can be observed. This may
seem small, but the relative error on disc 3 is not negligible, I think.
For circles 1 and 2, distance measurements are identical for the lines of
the same pair, but all the pairs in disc 2 show different results, whereas
measurements are more consistent for disc 1.
In the case of circle 3, that is not true any more. This indicates that the
loss of accuracy is indeed related to the model dimensions (but I think a
circle of radius 0.25 is not unreasonable).
These results will most likely change if I redo the same exact example,
which is also interesting.
I have not yet checked the cylinder case.
I hope this is helpful.
Philippe
I was asked to submit a specific example regarding the circle problem
mentioned earlier. Here's one that's illustrative:
- Create 3 circle objects centered in 0,0 with radii 1, 0.5, and 0.25 and
delete the surfaces.
- Create two lines to connect points (-1.1, 0.025) to (1.1, 0.025) and
(-1.1, -0.025) to (1.1, -0.025)
(these are two parallel lines to Ox with Y=0.025 and Y=-0.025)
- Make 3 copies of these lines by successive 45deg. rotations about
(0,0). You end up with 8 lines.
- Do all the line intersections (16 per circle)
Now, measure the distance between the two points obtained by intersecting
one line with one circle (we'll say that two parallel lines form a
pair). Measure one pair, then the next, etc. Using GiD 7.2 on my windoze
xp laptop, here is what I find:
For disc 1 (large):
1.99932
1.99932
1.99751
1.99751
1.99932
1.99932
1.99919
1.99919
For disc 2 (intermediate):
0.998624
0.998624
0.998425
0.998425
0.998634
0.998634
0.996863
0.996863
For disc 3 (small):
0.497494
0.497450
0.497001
0.497494
0.497494
0.497330
0.496836
0.496782
In all cases, variations of the third decimal can be observed. This may
seem small, but the relative error on disc 3 is not negligible, I think.
For circles 1 and 2, distance measurements are identical for the lines of
the same pair, but all the pairs in disc 2 show different results, whereas
measurements are more consistent for disc 1.
In the case of circle 3, that is not true any more. This indicates that the
loss of accuracy is indeed related to the model dimensions (but I think a
circle of radius 0.25 is not unreasonable).
These results will most likely change if I redo the same exact example,
which is also interesting.
I have not yet checked the cylinder case.
I hope this is helpful.
Philippe