# [vtkusers] Area of Intersection between a volume and a surface

Hedieh Ebrahimi hemla21 at gmail.com
Tue Jul 21 03:09:46 EDT 2015

```Hi Cory,

Thanks for your reply. I was looking at the Python Bindings for VTK where I
came across the following example.

http://www.vtk.org/Wiki/VTK/Examples/Python/GeometricObjects/Display/PolygonIntersection

The example above returns the intersection point of a line with a polygon
if it exists.

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.

I came across this example regarding Planes Intersection:

http://www.vtk.org/Wiki/VTK/Examples/Python/GeometricObjects/Display/PlanesIntersection

But still it is not what I exactly need.  Does anybody know of any classes
that will calculate the intersectional area.

Please find attached an image I am sending with this email.

Best Regards,
Hedieh

On Mon, Jul 20, 2015 at 11:24 PM, Cory Quammen <cory.quammen at kitware.com>
wrote:

> Hi Hedieh,
>
> I'm not clear on what you are trying to compute. Do you have an image to
> illustrate?
>
> Thanks,
> Cory
>
> On Mon, Jul 20, 2015 at 10:40 AM, Hedieh Ebrahimi <hemla21 at gmail.com>
> wrote:
>
>> Dear all,
>>
>> I have a question. I am trying to calculate the intersection area between
>> a hexahedron volume and a triangle surface.
>>
>> 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.
>>
>> Second is there any way to calculate this cross-sectional area?
>>
>> I would really appreciate if you could please refer me to any classes or
>> sample code to do this?
>>
>>
>> Best Regards,
>> Hedieh
>>
>> _______________________________________________
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> --
> Cory Quammen
> R&D Engineer
> Kitware, Inc.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150721/5af534e8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IntersectionalArea.jpg
Type: image/jpeg
Size: 41005 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150721/5af534e8/attachment.jpg>
```