2013/12/27, Christopher Sean Morrison <[email protected]>: > > On Dec 27, 2013, at 4:49 AM, Delveri chick wrote: > >> Im chick an i would love to give some help with the implementation of >> the surface area function of superellipsolloid. > > Hi Chick, > > That's a difficult one. I don't know of a way to directly evaluate the > surface area, but you could converge to a definably accurate estimate by > sampling surface points. > > For example, you could iterate over the x(u,v) y(u,v) and z(u,v) parametric > representation described on Wikipedia, incrementing by maybe PI/4 for > starters, and using the surface points as defining a surface tessellation. > You can sample the u,v in a way that creates quadrilateral patches > (rectangles), which you can sum up easily. You then recalculate with > PI/(4+N) or PI/(4*N), for example PI/8 then PI/16 then PI/32 .. etc, and > stop when the area summation converges to a solution within some defined > tolerance (like < 0.005). > > Alternatively for that task, you could implement any one of the special > cases A) e=0,n=0 or e=2,n=0 (boxes); B) e=0,n=1 or e=2,n=1 (four cylinder > sections); C) e=0,n=2 or e=2,n=2 (prisms); D) e=1,n=0 or e=1,n=2 (a > cylinder/cone); or E) e=1,n=1 (a sphere). They're all individually pretty > simple (and an opportunity to complete five different tasks). > > Cheers! > Sean > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > BRL-CAD Developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/brlcad-devel >
Thanx Kesha & sean but i want to know if there'e someone currently working on adding surface area and volume routines to brlcad primitives because im on it and i need some help? Chick ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
