<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/166452</link>
    <title>MATLAB Central Newsreader - Intersect an isosurface?</title>
    <description>Feed for thread: Intersect an isosurface?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The 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>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Thu, 27 Mar 2008 08:10:22 -0400</pubDate>
      <title>Intersect an isosurface?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/166452#423073</link>
      <author>Sven </author>
      <description>Hi there,&lt;br&gt;
&lt;br&gt;
Is it possible to intersect a 3d patch object (created by&lt;br&gt;
isosurface) with a plane, and return the intersecting curve(s)?&lt;br&gt;
&lt;br&gt;
For example,&lt;br&gt;
&lt;br&gt;
[x,y,z,v] = flow;&lt;br&gt;
[faces,verts,colors] = isosurface(x,y,z,v,-3,x);&lt;br&gt;
p = patch('Vertices', verts, 'Faces', faces, ...&lt;br&gt;
'FaceVertexCData', colors, ...&lt;br&gt;
'FaceColor','interp', ...&lt;br&gt;
'edgecolor', 'interp');&lt;br&gt;
&lt;br&gt;
This returns p, the isosurface patch object.  I now want to&lt;br&gt;
cut this object along the plane, say, X=5 and return the&lt;br&gt;
intersection curve(s) in some format.&lt;br&gt;
&lt;br&gt;
I understand that I could use contourslice on the original&lt;br&gt;
volumetric data as follows:&lt;br&gt;
contourslice(x,y,z,v,5,[],[],[-3 -3])&lt;br&gt;
&lt;br&gt;
However, I want to avoid referencing this volumetric data,&lt;br&gt;
and think that the surface mesh should be cuttable in some&lt;br&gt;
way (I just don't know how yet). My eventual goal is to try&lt;br&gt;
and slice an stl volume or nurbs surface, neither of which&lt;br&gt;
would have any underlying volume data.&lt;br&gt;
&lt;br&gt;
Any help would be much appreciated&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
