|
From: <jto...@un...> - 2004-01-04 11:31:31
|
Hi, tochnoggers, before all, happy new year. I think there is a bug in the code. Please someone who can look at=20 geometry.cc, lines 334-336. The goal of those lines are computing the=20 normal to a ellipse, but in fact: 1. The b/a factor would have to be squared 2. If 1. would be true, then y/x should be used, and not x/y. There=20 may also be some bug on the sign, to make the normal point outwards=20 the ellipse. Please, check it, and if you agree, I will correct and put it to the=20 CVS. Best, Jes=FAs Torrecilla=20 > I have modified the home page metal forging example using=20 > geometry_circle in place of geometry_line as the contacting object.=20 > It works fine. But if I use geometry_ellipse or=20 geometry_polynomial,=20 > contact does not seem to be detected at all. Is there something=20 > wrong with the code or am I overlooking something obvious? >=20 > --=20 >=20 >=20 > Jeffrey A. Hinkley, Ph.D. > Mail Stop 226 > Advanced Materials and Processing Branch > NASA Langley Research Center > 6A W. Taylor St. > Hampton, VA 23681 >=20 > voice: 757 864 4259 > fax: 757 864 8312 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for=20 IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys=20 admin. > Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick > _______________________________________________ > Tochnog-users mailing list > Toc...@li... > https://lists.sourceforge.net/lists/listinfo/tochnog-users >=20 |