Ticket #401 (closed: fixed)
Improve the perfomance of solid angle calculations
Reported by: | Nick Draper | Owned by: | Ronald Fowler |
---|---|---|---|
Priority: | major | Milestone: | Iteration 15 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
Use the triangulation to improve the accuarcy and performance
Change History
comment:5 Changed 12 years ago by Ronald Fowler
(In [1958]) Updated solid angle calculation for cuboids (marked as such in XML) to use faster and more accurate triangle method. Also updated unit test solidAngle to expect new values. For the relatively high aspect ratio cuboids in the example, about 10 wide to 1 long, the ray tracing method is only accurate to 15% which is not good. Re #401
Note: See
TracTickets for help on using
tickets.
(In [1946]) Updated solid angle calculation using the surface triangulation. If the triangulation is good and the number of elements not too high this gives a better and faster estimate of the solid angle. Added unit tests. Re #401