[vtkusers] vtkCutter accuracy?
Andreu, Jean-Philippe
jean-philippe.andreu at joanneum.at
Wed Sep 25 03:43:18 EDT 2002
Hi all,
I tested vtkCutter on a simple planar rectangular patch (see below) with a
plane (plane->SetOrigin(100.0, 0.0, 0.0); plane->SetNormal(1.0, 0.0, 0.0);)
as implict function.
# vtk DataFile Version 3.0
vtk output
ASCII
DATASET POLYDATA
POINTS 4 float
50 200 70 150 200 70 150 200 90
50 200 90
POLYGONS 1 5
4 0 1 2 3
CELL_DATA 1
POINT_DATA 4
SCALARS scalars float
LOOKUP_TABLE default
1 1 1 1
As a result I get the following:
# vtk DataFile Version 3.0
vtk output
ASCII
DATASET POLYDATA
POINTS 2 float
100.5 200 90 100.5 200 70
LINES 1 3
2 0 1
CELL_DATA 1
POINT_DATA 2
SCALARS scalars float
LOOKUP_TABLE default
1 1
I ask myself why I get 100.5 and not 100...
Any idea?
Thanx in advance for your help,
Jean-Philippe
More information about the vtkusers
mailing list