<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241583</link>
    <title>MATLAB Central Newsreader - how to calculate volume of a 3D polygon?</title>
    <description>Feed for thread: how to calculate volume of a 3D polygon?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 26 Dec 2008 00:27:01 -0500</pubDate>
      <title>how to calculate volume of a 3D polygon?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241583#618829</link>
      <author>Jveer </author>
      <description>does anyone know of a simple way to calculate the volume of a 3D polygon- usually imported from a CAD file?</description>
    </item>
    <item>
      <pubDate>Fri, 26 Dec 2008 01:42:01 -0500</pubDate>
      <title>Re: how to calculate volume of a 3D polygon?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241583#618832</link>
      <author>Jveer </author>
      <description>resolved - found that convhulln gives volume.</description>
    </item>
    <item>
      <pubDate>Fri, 26 Dec 2008 03:47:21 -0500</pubDate>
      <title>Re: how to calculate volume of a 3D polygon?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241583#618838</link>
      <author>ImageAnalyst</author>
      <description>On Dec 25, 8:42=A0pm, &quot;Jveer &quot; &amp;lt;jv...@jveer.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; resolved - found that convhulln gives volume.&lt;br&gt;
&lt;br&gt;
---------------------------------&lt;br&gt;
Jveer:&lt;br&gt;
Are you sure?  Convex hull gives a shape as though you wrapped a&lt;br&gt;
stretchy sheet around your object.  So the convex hull of a banana&lt;br&gt;
would be like a thick &quot;D&quot; shape, and the convex hull of a donut/torus&lt;br&gt;
would be like a cylinder.  The convex hull of a thick, 3-dimensional&lt;br&gt;
&quot;E&quot; shape would be a rectangular box.  This is not the same volume as&lt;br&gt;
the actual volume unless your object is convex.&lt;br&gt;
Regards,&lt;br&gt;
ImageAnalyst</description>
    </item>
    <item>
      <pubDate>Fri, 26 Dec 2008 03:48:21 -0500</pubDate>
      <title>Re: how to calculate volume of a 3D polygon?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241583#618839</link>
      <author>ImageAnalyst</author>
      <description>On Dec 25, 7:27=A0pm, &quot;Jveer &quot; &amp;lt;jv...@jveer.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; does anyone know of a simple way to calculate the volume of a 3D polygon-=&lt;br&gt;
&amp;nbsp;usually imported from a CAD file?&lt;br&gt;
&lt;br&gt;
------------------------------&lt;br&gt;
Do you have a 3D image, or just a list of (x,y,z) vertex coordinates?</description>
    </item>
    <item>
      <pubDate>Sat, 27 Dec 2008 09:40:04 -0500</pubDate>
      <title>Re: how to calculate volume of a 3D polygon?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241583#618929</link>
      <author>Jveer </author>
      <description>&lt;br&gt;
oh yeah you are so right. thanks for pointing it out. &lt;br&gt;
&lt;br&gt;
do u have any suggestions?</description>
    </item>
    <item>
      <pubDate>Sat, 27 Dec 2008 09:51:02 -0500</pubDate>
      <title>Re: how to calculate volume of a 3D polygon?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241583#618930</link>
      <author>Jveer </author>
      <description>&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ------------------------------&lt;br&gt;
&amp;gt; Do you have a 3D image, or just a list of (x,y,z) vertex coordinates?&lt;br&gt;
&lt;br&gt;
i have the coordinates and the corresponding faces. </description>
    </item>
    <item>
      <pubDate>Sat, 27 Dec 2008 15:32:03 -0500</pubDate>
      <title>Re: how to calculate volume of a 3D polygon?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241583#618950</link>
      <author>ImageAnalyst</author>
      <description>On Dec 27, 4:51=A0am, &quot;Jveer &quot; &amp;lt;jv...@jveer.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt; ------------------------------&lt;br&gt;
&amp;gt; &amp;gt; Do you have a 3D image, or just a list of (x,y,z) vertex coordinates?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; i have the coordinates and the corresponding faces.&lt;br&gt;
&lt;br&gt;
---------------------------------------------------------------------------&lt;br&gt;
Jveer:&lt;br&gt;
No I don't.  Someone else probably does though.  You can try Google.&lt;br&gt;
I just found this:&lt;br&gt;
&lt;a href=&quot;http://www.niksula.cs.hut.fi/~hkankaan/Homepages/calcvolume.html&quot;&gt;http://www.niksula.cs.hut.fi/~hkankaan/Homepages/calcvolume.html&lt;/a&gt;&lt;br&gt;
If you could somehow convert your vertices and faces to a 3D image&lt;br&gt;
then all you have to do is sum the non-zero coordinates, but poly2mask&lt;br&gt;
only seems to work with 2D polygons.&lt;br&gt;
Good luck.  If you find an answer, share it.&lt;br&gt;
ImageAnalyst</description>
    </item>
  </channel>
</rss>

