bug fixes

This commit is contained in:
Mason 2009-08-07 14:13:56 -04:00
parent c909954b2f
commit f4bacf8cf6
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ class CDT(val points: List[Point], val segments: List[Segment], iTriangle: Trian
//System exit 0
}
// Process edge events
//point.edges.foreach(e => edgeEvent(e, triangle))
point.edges.foreach(e => edgeEvent(e, triangle))
//if(i == 10) {cTri = triangle; mesh.debug += cTri}
}
//mesh clean cTri

View File

@ -54,7 +54,7 @@ class Triangle(val points: Array[Point], val neighbors: Array[Triangle]) {
neighbors(2) = triangle
else {
debug += triangle
throw new Exception("Neighbor update error")
throw new Exception("Neighbor pointer error, please report!")
}
}