<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#c8e0d8>
<DIV><FONT face=Arial size=2>this is my stack after I get a C0000005 access
violations</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>the line marked ** causes the problem -842150451 in
hex is 0xCDCDCDCD which is microsofts way of telling you that the variable is
un-initialised</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>so the second time FindTriangle is called newNei
has not been set</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have recently increased the numbers of points
defining my constrained poly. If this has something to do with it, what is the
solution. Perhaps something to do with SetTolerance() ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks Paul Tait</DIV>
<P><FONT color=#0000ff>return</FONT> <FONT color=#0000ff>this</FONT>-><FONT
color=#880000>FindTriangle</FONT>(<FONT color=#808080>x</FONT>,<FONT
color=#808080>ptIds</FONT>,<FONT color=#808080>newNei</FONT>,<FONT
color=#808080>tol</FONT>,<FONT color=#808080>nei</FONT>,<FONT
color=#808080>neighbors</FONT>);</P></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vtkUnsignedCharArray::GetValue(const int
-842150451) line 112 + 23 bytes<BR>vtkCellTypes::GetCellType(int -842150451)
line 89 + 29 bytes<BR>vtkPolyData::GetCellPoints(int -842150451, int &
-858993460, int * & 0xcccccccc) line 1041 + 18 bytes<BR>**
vtkDelaunay2D::FindTriangle(double * 0x0012f4e4, int * 0x0012f518, int
-842150451, double 10.376174632301, int * 0x0012f4fc, vtkIdList * 0x12bc2ef8)
line 135<BR>vtkDelaunay2D::FindTriangle(double * 0x0012f4e4, int * 0x0012f518,
int 0, double 10.376174632301, int * 0x0012f4fc, vtkIdList * 0x12bc2ef8) line
214<BR>vtkDelaunay2D::Execute() line 428 + 48
bytes<BR>vtkSource::ExecuteData(vtkDataObject * 0x12b95168) line 136 + 16
bytes<BR>vtkSource::UpdateData(vtkDataObject * 0x12b95168) line 395 + 20
bytes<BR>vtkDataObject::UpdateData() line 373 + 26
bytes<BR>vtkSource::UpdateData(vtkDataObject * 0x12b95680) line 339 + 23
bytes<BR>vtkDataObject::UpdateData() line 373 + 26
bytes<BR>vtkDataObject::Update() line 254 + 13 bytes<BR>vtkMapper::Update() line
347 + 24 bytes<BR>vtkPolyDataMapper::Update() line
105<BR>vtkPolyDataMapper::GetBounds() line 119 + 16
bytes<BR>vtkActor::GetBounds() line 322 + 34
bytes<BR>vtkFrustumCoverageCuller::Cull(vtkRenderer * 0x12b5a590, vtkProp * *
0x12d7de68, int & 3, int & 0) line 98 + 22
bytes<BR>vtkRenderer::AllocateTime() line 402 + 41
bytes<BR>vtkRenderer::Render() line 229<BR>vtkRendererCollection::Render() line
54 + 16 bytes<BR>vtkRenderWindow::DoStereoRender() line
621<BR>vtkRenderWindow::DoFDRender() line 606 + 16
bytes<BR>vtkRenderWindow::DoAARender() line 500 + 16
bytes<BR>vtkRenderWindow::Render() line 327 + 16
bytes<BR>Fpm3D::WindowProc(unsigned int 256, unsigned int 33, long 21561345)
line 1303 + 28 bytes<BR></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><BR>---<BR>Outgoing mail is certified Virus
Free.<BR>Checked by AVG anti-virus system (<A
href="http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version: 6.0.659 /
Virus Database: 423 - Release Date: 4/18/2004</DIV></FONT></BODY></HTML>