[vtkusers] indexes on a surface
David Doria
daviddoria at gmail.com
Thu May 17 07:52:38 EDT 2012
On Thu, May 17, 2012 at 1:57 AM, Hila Hiler <hilahiler at gmail.com> wrote:
> Hi all,
>
> I encountered with an unreasonable problem.
> I inserted my surface (it's the head's skin like present in my profile) and
> walk with a vtkIdType index on its points.
> my expectation is that just the points which on this surface will be
> visited, but the strange part is that other points were visited too.
>
> this is my code:
>
> vtkIdType numPointsOnSurface = mySurface->GetNumberOfPoints();
>
> for( vtkIdType idx= 1; idx < numPointsOnSurface; idx++)
> {
> mySurface->GetPoint(idx,physical_point_on_surface);
>
> ...
>
> so I checked and saw that physical_point_on_surface isn't on the surface in
> some cases.
>
> What have I missed?
>
> Best Regards,
> Hila
There is nothing preventing a data set from containing a surface as
well as points that are not on the surface. You must have a problem
with your data set collection/construction.
David
More information about the vtkusers
mailing list