Hi,
Aaron Keesing has left the following comment at Add a primitive surface
area function ... for right hyperbolic cylinders (RHC)
http://www.google-melange.com/gci/task/view/google/gci2012/7982218:
Approximation
I used Simpson's Rule to approximate the integral for arclength. Using the
value of n=1000000 could slow things down on old hardware, but should give
accuracy of 10d.p or greater, from what I've tested (not in BRL-CAD).
The derivation of the formula is similar to that of the centroid for an
ehy, and a lot of the code is similar to the code in that function. If
necessary I can make another document with the derivation of surface area.
I haven't thoroughly checked all the code and all the math because I am in
a little hurry but glancing over my notes everything seems to be correct.
Aaron K
Greetings,
The Google Open Source Programs Team
---
You are receiving this message because you are subscribed to Add a
primitive surface area function ... for right hyperbolic cylinders (RHC).
To stop receiving these messages, go to:
http://www.google-melange.com/gci/task/view/google/gci2012/7982218.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker