<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-9">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Precisions change after executing
vtkTransformFilter. My code is the following:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vtk.vtkTransform transformRotate3 = new
vtk.vtkTransform();<BR>transformRotate3.RotateWXYZ(45.0, 1, 0,
0);<BR>vtk.vtkTransformFilter transformFilterRotate3 = new
vtk.vtkTransformFilter();<BR>transformFilterRotate3.SetTransform(transformRotate3);<BR>transformFilterRotate3.SetInputConnection(transformFilterRotate2.GetOutputPort());</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>transformFilterRotate2 is another
transformFilter.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Distance between points[0] and points[4] is 20.0
in transformFilterRotate2.GetUnstructuredGridOutput()<BR>After
executing transformFilterRotate3<BR>distance between points[0] and
points[4] is 20.032103138407294</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I am getting points by the following
code:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>transformFilterRotate2.GetUnstructuredGridOutput().GetPoint(0)<BR>transformFilterRotate2.GetUnstructuredGridOutput().GetPoint(4)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>transformFilterRotate3.GetUnstructuredGridOutput().GetPoint(0)<BR>transformFilterRotate3.GetUnstructuredGridOutput().GetPoint(4)</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>why the distance changed from 20.0 to 20.032103138407294? How can i
prevent this?</DIV>
<DIV> </DIV>
<DIV>Kind Regards,</DIV>
<DIV> </DIV>
<DIV>murat aydin</FONT></DIV></BODY></HTML>