<html>
Hi Matthias -<br>
<br>
The data can be&nbsp; stored in native format, i.e., double (there's a
vtkDoubleArray under the hood) if you create the points:<br>
<br>
vtkPoints *pts = vtkPoints::New();<br>
pts-&gt;SetDataTypeToDouble();<br>
<br>
The generic API to points uses floats or doubles (i.e., there is a
SetPoint(float) and SetPoint(double)) Also, you can reach under the hood,
get the data array, and grab a pointer to doubles. So you can work
generically, using the float/double API, or if you need to, you can work
with a pointer to native type. (If you look at the imaging pipeline you
can see that there is a lot of switching going on based on data
type...this functionality is slowly creeping into the
&quot;graphics&quot; pipeline.)<br>
<br>
You may be working why templates weren't used: the reason for this is
partially historical: templates didn't work well in 1993 when vtk
began.<br>
<br>
Will<br>
<br>
<br>
<br>
At 06:40 PM 1/25/2001 +0100, Matthias Kronenberger wrote:<br>
<blockquote type=cite class=cite cite><font face="arial" size=2>Or, are
the Points stored as a float anyway?</font><br>
<font face="arial" size=2>Why is bounds a float?</font><br>
<font face="arial" size=2>Why can't you get a double* via
GetPoint?</font><br>
&nbsp;<br>
&nbsp;<br>
&nbsp;</blockquote></html>