Hi,

Aaron Keesing has left the following comment at Implement a primitive volume function ... for hyperboloids of one sheet (HYP) http://www.google-melange.com/gci/task/view/google/gci2012/7987216:


Too complex?


Matt, I looked at your volume computation PDF, but surely there must be some easier way of calculating the volume. Are you not able to find the volume by integration of cross-sectional area. Using basic calculus, I integrated the function for cross-sectional area from 0 to h/2 (if hyp is oriented in z and has center at 0), then multiplied this by 2 to get the formula:

V = pi*a*b*h*(1 + (h^2)/(12*c^2)).

This was using the standard formula for a hyperboloid of x^2/a^2 + y^2/b^2 - z^2/c^2 = 1; the formula described in hyp.c has a slightly different formula. But the formula for the volume should still be somewhat similar.


Greetings,
The Google Open Source Programs Team


---
You are receiving this message because you are subscribed to Implement a primitive volume function ... for hyperboloids of one sheet (HYP). To stop receiving these messages, go to: http://www.google-melange.com/gci/task/view/google/gci2012/7987216.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker

Reply via email to