jzy3d-api icon indicating copy to clipboard operation
jzy3d-api copied to clipboard

possible bug in DelaunayTriangulation::calcVoronoiCell

Open kenyee opened this issue 6 years ago • 0 comments

SonarQube found this while I was converting this to Kotlin:

if (!halfplane.abTriangle!!.isHalfplane) {
                neighbor = halfplane.abTriangle
            } else if (!halfplane.bcTriangle!!.isHalfplane) {
                neighbor = halfplane.bcTriangle
            } else if (!halfplane.bcTriangle!!.isHalfplane) {
                neighbor = halfplane.caTriangle
            }

That second else probably should compare the caTriangle in the if statement...

kenyee avatar Dec 07 '18 18:12 kenyee