On Jul 7, 2012, at 9:26 AM, Matt Shepit wrote:
> http://perso.uclouvain.be/vincent.legat/teaching/data/meca2170-GmshCompanion.pdf
>
>
> Yup, that's the droids right there; section 3.5.1, with some minor
> adjustments to compute area.
Section 3.5.1 covers basic Delaunay triangulation, which could work, but is a
sampled (approximate) solution as presented there.
When I originally suggested tessellating the sketch, that was not meant to
imply triangulation or some other form of polygon decomposition but, rather,
tessellation with the existing spline edges preserved. For example, you could
tessellate into Bezier patches. Or some custom patch type since with Seidel
decomposition, you know that two edges are straight line segments and only need
to track the other two. Either way, any area calculated is exact.
You could attempt to implement Delaunay triangulation into Bezier patches.
That's a bit more complicated than I'd think necessary for just surface area,
but would be reusable to implement sketch's tess() callback, and that would be
cool to have done (for sketch and extrude).
Cheers!
Sean
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel