<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I am constructing unstructured grids from point
id's that are not contiguous. Consequently, not all the point id's in the
UnstructuredGrid object have values assigned. When the bounds of my test grid
are computed, they typically include a minimum point at -4e+8 (the undefined
points - debug dll). As a result, the grid is <STRONG>not </STRONG>displayed.
With a release build of the dll's, the minimum points are -1e-3 and the grid
<STRONG>is </STRONG>displayed (although this is likely to be
fortuitous).</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Obviously, the immediate solution is to ensure that
all the point data is suitably initialised. Alternatively, the bounds could be
computed based only on the point id's that are contained in the cell topologies.
In this way, the true limits of the geometry would be obtained.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Would an implementation of
vtkUnstructuredGrid::ComputeBounds(...) be a solution or is it likely to get
bypassed by direct access to the point set?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>On the other hand I may be completely off target
and there is a solution already!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV></BODY></HTML>