Remove a point from the simplex
| 59 | |
| 60 | // Remove a point from the simplex |
| 61 | void VoronoiSimplex::removePoint(int index) { |
| 62 | assert(mNbPoints > 0); |
| 63 | mNbPoints--; |
| 64 | mPoints[index] = mPoints[mNbPoints]; |
| 65 | mSuppPointsA[index] = mSuppPointsA[mNbPoints]; |
| 66 | mSuppPointsB[index] = mSuppPointsB[mNbPoints]; |
| 67 | } |
| 68 | |
| 69 | // Reduce the simplex (only keep vertices that participate to the point closest to the origin) |
| 70 | /// bitsUsedPoints is seen as a sequence of bits representing whether the four points of |
nothing calls this directly
no outgoing calls
no test coverage detected