[vtkusers] How to get boundary points???
Jeff Lee
jeff at cdnorthamerica.com
Mon Feb 23 14:17:28 EST 2004
vtkFeatureEdges will give you the boundaryEdges. I think if you grab
the output of that filter, it will have the cells (lines) and points you
require.
-Jeff
david e ignacio wrote:
> I don't know if there is a prebuilt class that does this. If you want
> to implement this yourself, you can look up such things as "Graham's
> Scan" and also Jarvis's March. They are fairly simple algorithms that
> run in O(nlogn) and O(nh) where h is the number of points in the hull.
> Let me know if you need more help than that. If I ever get some free
> time from my schoolwork and this is still needed, I can put something
> together.
>
> Let me know
> Dave
>
> Larry wrote:
>
>> Hello, everyone!
>> I have a vtkPolyData, which is in my case actually a bunch of triangle
>> cells lie on the same plane, now I want to get the boundary that
>> enclose all
>> the triangles.
>> Simply to say, that I have some points, and I'd like to figure out
>> the boundary points.
>>
>> Is there any way in vtk to do that?
>>
>> Thanks!
>>
>
>
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages
> on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list