<div dir="ltr">Hi Cory, <div><br></div><div>Thanks for your reply. I was looking at the Python Bindings for VTK where I came across the following example. </div><div><br></div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Python/GeometricObjects/Display/PolygonIntersection">http://www.vtk.org/Wiki/VTK/Examples/Python/GeometricObjects/Display/PolygonIntersection</a><br></div><div><br></div><div>The example above returns the intersection point of a line with a polygon if it exists. </div><div><br></div><div>Im my case I need to know if a finite plane intersects with a volume ( hexahedron) and if so I will need to calculate the intersectional area. I was wondering if this is possible using VTK.</div><div><br></div><div>I came across this example regarding Planes Intersection:</div><div><br></div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Python/GeometricObjects/Display/PlanesIntersection">http://www.vtk.org/Wiki/VTK/Examples/Python/GeometricObjects/Display/PlanesIntersection</a><br></div><div><br></div><div>But still it is not what I exactly need. Does anybody know of any classes that will calculate the intersectional area.</div><div><br></div><div>Please find attached an image I am sending with this email. </div><div><br></div><div>Thank you very much in advance for your help. </div><div><br></div><div>Best Regards, </div><div>Hedieh</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 20, 2015 at 11:24 PM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Hedieh,<div><br></div><div>I'm not clear on what you are trying to compute. Do you have an image to illustrate?</div><div><br></div><div>Thanks,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Jul 20, 2015 at 10:40 AM, Hedieh Ebrahimi <span dir="ltr"><<a href="mailto:hemla21@gmail.com" target="_blank">hemla21@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Dear all, <div><br></div><div>I have a question. I am trying to calculate the intersection area between a hexahedron volume and a triangle surface. </div><div><br></div><div>I came across the Python Bindings for VTK. I am wondering if there is any way to get the cross section between a hexahedron volume and a triangle surface. </div><div><br></div><div>Second is there any way to calculate this cross-sectional area?</div><div><br></div><div>I would really appreciate if you could please refer me to any classes or sample code to do this?</div><div><br></div><div>Thank you very much in Advance for your help. </div><div><br></div><div>Best Regards, </div><span><font color="#888888"><span><font color="#888888">Hedieh</font></span></font></span></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</font></span></div>
</blockquote></div><br></div>