Search code examples
vtkbounding-boxintersect

VTK: Intersection between a plane and a polydata


Is there a simple way to compute whether a plane and a polydata-object intersect?

I want to know on which sides my polydata-object protude my bounding box.

I want to use VTK for this task.


Solution

  • I solved this using a vtkBoundingBox, which has the plane position and a second vtkBoundingBox which got the the bounds from my vtkPolyData.