[vtkusers] line-mesh intersection using an open mesh
David Doria
daviddoria at gmail.com
Tue Jan 24 14:00:00 EST 2012
On Tue, Jan 24, 2012 at 11:38 AM, Claudia Ferreira <claudiasmf at gmail.com> wrote:
> Hi all,
>
> I have a triangular mesh obtained using itk and now, already on vtk, I want
> to use the modified BSPTree as a line intersection method. The mesh I am
> using has a big hole.
> The function IntersectWithLine (const double p1[3], const double p2[3],
> const double tol, vtkPoints *points, vtkIdList *cellIds) says nothing about
> assuming that the surface has to be closed, but when I do some search about
> line-mesh intersections using vtk methods it seems that a closed mesh is
> mandatory. Do I need to close it?
>
> Best regards,
> Claudia
I don't believe there is any requirement for a closed mesh. I'd just
give it a try and see if it works :)
David
More information about the vtkusers
mailing list