<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.36">
<TITLE>RE: [vtkusers] Re: GenericDataSetTessellator question</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>&gt; Hi Soeren,<BR>
&gt;<BR>
&gt; I suspect that this problem comes from the implementation of:<BR>
&gt;<BR>
&gt; int vtkBridgeCell::GetNumberOfBoundaries(int dim)<BR>
&gt;<BR>
&gt; For dim=0, the number of boundaries is NOT the number of points but the<BR>
&gt; number of &quot;corner&quot; points, for a quad it is always 4, whatever is the<BR>
&gt; number of points. The current implementation just returns the actual<BR>
&gt; number of points for a linear cell, but for a none linear cell it<BR>
&gt; returns the number of points minus the number of edges, which is right<BR>
&gt; for the VTK quadratic cells (because there is one extra point per edge),<BR>
&gt; BUT which is wrong in your case. So you should add your case here by<BR>
&gt; returning 4 in the quad case and see what happens.<BR>
<BR>
This interface may change in the future to accommodate<BR>
higher order cells whose higher order modes aren't<BR>
associated with interpolated points; in the future,<BR>
the point iterator will most probably only loop over the<BR>
&quot;corner&quot; points. The mid-edge and mid-face points will<BR>
be accessible through an as-yet-undefined DofNodeIterator<BR>
which will return mode-shape coefficients which may or may<BR>
not be interpolated exactly.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; David</FONT>
</P>

</BODY>
</HTML>