+ 56 More Occurrences...
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Geom.java:121:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
118 */
119 double gapL, gapR;
120
121 assert (TransLeq(u, v) && TransLeq(v, w));
122
123 gapL = v.t - u.t;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Geom.java:144:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
141 */
142 double gapL, gapR;
143
144 assert (TransLeq(u, v) && TransLeq(v, w));
145
146 gapL = v.t - u.t;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:654:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
651 while (fHead.next != fHead) {
652 __gl_meshZapFace(fHead.next);
653 }
654 assert (mesh.vHead.next == mesh.vHead);
655 }
656
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:690:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
687
688 fPrev = fHead;
689 for (fPrev = fHead; (f = fPrev.next) != fHead; fPrev = f) {
690 assert (f.prev == fPrev);
691 e = f.anEdge;
692 do {
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:693:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
690 assert (f.prev == fPrev);
691 e = f.anEdge;
692 do {
693 assert (e.Sym != e);
694 assert (e.Sym.Sym == e);
695 assert (e.Lnext.Onext.Sym == e);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:694:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
691 e = f.anEdge;
692 do {
693 assert (e.Sym != e);
694 assert (e.Sym.Sym == e);
695 assert (e.Lnext.Onext.Sym == e);
696 assert (e.Onext.Sym.Lnext == e);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:695:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
692 do {
693 assert (e.Sym != e);
694 assert (e.Sym.Sym == e);
695 assert (e.Lnext.Onext.Sym == e);
696 assert (e.Onext.Sym.Lnext == e);
697 assert (e.Lface == f);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:696:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
693 assert (e.Sym != e);
694 assert (e.Sym.Sym == e);
695 assert (e.Lnext.Onext.Sym == e);
696 assert (e.Onext.Sym.Lnext == e);
697 assert (e.Lface == f);
698 e = e.Lnext;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:697:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
694 assert (e.Sym.Sym == e);
695 assert (e.Lnext.Onext.Sym == e);
696 assert (e.Onext.Sym.Lnext == e);
697 assert (e.Lface == f);
698 e = e.Lnext;
699 } while (e != f.anEdge);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:701:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
698 e = e.Lnext;
699 } while (e != f.anEdge);
700 }
701 assert (f.prev == fPrev && f.anEdge == null && f.data == null);
702
703 vPrev = vHead;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:705:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
702
703 vPrev = vHead;
704 for (vPrev = vHead; (v = vPrev.next) != vHead; vPrev = v) {
705 assert (v.prev == vPrev);
706 e = v.anEdge;
707 do {
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:708:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
705 assert (v.prev == vPrev);
706 e = v.anEdge;
707 do {
708 assert (e.Sym != e);
709 assert (e.Sym.Sym == e);
710 assert (e.Lnext.Onext.Sym == e);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:709:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
706 e = v.anEdge;
707 do {
708 assert (e.Sym != e);
709 assert (e.Sym.Sym == e);
710 assert (e.Lnext.Onext.Sym == e);
711 assert (e.Onext.Sym.Lnext == e);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:710:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
707 do {
708 assert (e.Sym != e);
709 assert (e.Sym.Sym == e);
710 assert (e.Lnext.Onext.Sym == e);
711 assert (e.Onext.Sym.Lnext == e);
712 assert (e.Org == v);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:711:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
708 assert (e.Sym != e);
709 assert (e.Sym.Sym == e);
710 assert (e.Lnext.Onext.Sym == e);
711 assert (e.Onext.Sym.Lnext == e);
712 assert (e.Org == v);
713 e = e.Onext;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:712:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
709 assert (e.Sym.Sym == e);
710 assert (e.Lnext.Onext.Sym == e);
711 assert (e.Onext.Sym.Lnext == e);
712 assert (e.Org == v);
713 e = e.Onext;
714 } while (e != v.anEdge);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:716:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
713 e = e.Onext;
714 } while (e != v.anEdge);
715 }
716 assert (v.prev == vPrev && v.anEdge == null && v.data == null);
717
718 ePrev = eHead;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:720:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
717
718 ePrev = eHead;
719 for (ePrev = eHead; (e = ePrev.next) != eHead; ePrev = e) {
720 assert (e.Sym.next == ePrev.Sym);
721 assert (e.Sym != e);
722 assert (e.Sym.Sym == e);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:721:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
718 ePrev = eHead;
719 for (ePrev = eHead; (e = ePrev.next) != eHead; ePrev = e) {
720 assert (e.Sym.next == ePrev.Sym);
721 assert (e.Sym != e);
722 assert (e.Sym.Sym == e);
723 assert (e.Org != null);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:722:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
719 for (ePrev = eHead; (e = ePrev.next) != eHead; ePrev = e) {
720 assert (e.Sym.next == ePrev.Sym);
721 assert (e.Sym != e);
722 assert (e.Sym.Sym == e);
723 assert (e.Org != null);
724 assert (e.Sym.Org != null);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:725:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
722 assert (e.Sym.Sym == e);
723 assert (e.Org != null);
724 assert (e.Sym.Org != null);
725 assert (e.Lnext.Onext.Sym == e);
726 assert (e.Onext.Sym.Lnext == e);
727 }
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:726:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
723 assert (e.Org != null);
724 assert (e.Sym.Org != null);
725 assert (e.Lnext.Onext.Sym == e);
726 assert (e.Onext.Sym.Lnext == e);
727 }
728 assert (e.Sym.next == ePrev.Sym
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Mesh.java:728:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
725 assert (e.Lnext.Onext.Sym == e);
726 assert (e.Onext.Sym.Lnext == e);
727 }
728 assert (e.Sym.next == ePrev.Sym
729 && e.Sym == mesh.eHeadSym
730 && e.Sym.Sym == e
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Normal.java:92:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
89 static void Normalize(double[] v) {
90 double len = v[0] * v[0] + v[1] * v[1] + v[2] * v[2];
91
92 assert (len > 0);
93 len = Math.sqrt(len);
94 v[0] /= len;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/PriorityQHeap.java:105:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
102 ++child;
103 }
104
105 assert (child <= max);
106
107 hChild = n[child].handle;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/PriorityQHeap.java:207:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
204 if (initialized) {
205 FloatUp(curr);
206 }
207 assert (free != Integer.MAX_VALUE);
208 return free;
209 }
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/PriorityQHeap.java:239:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
236 PriorityQ.PQhandleElem[] h = handles;
237 int curr;
238
239 assert (hCurr >= 1 && hCurr <= max && h[hCurr].key != null);
240
241 curr = h[hCurr].node;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/PriorityQSort.java:217:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
214 return Integer.MAX_VALUE;
215 }
216 }
217 assert curr != Integer.MAX_VALUE;
218 keys[curr] = keyNew;
219
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/PriorityQSort.java:273:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
270 return;
271 }
272 curr = -(curr + 1);
273 assert curr < max && keys[curr] != null;
274
275 keys[curr] = null;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Render.java:118:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
115 */
116 if (f.inside && !f.marked) {
117 RenderMaximumFaceGroup(tess, f);
118 assert (f.marked);
119 }
120 }
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Render.java:287:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
284 /* Just add the triangle to a triangle list, so we can render all
285 * the separate triangles at once.
286 */
287 assert (size == 1);
288 tess.lonelyTriList = AddToTrail(e.Lface, tess.lonelyTriList);
289 }
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Render.java:343:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
340 tess.callVertexOrVertexData( e.Sym.Org.data);
341 }
342
343 assert (size == 0);
344 tess.callEndOrEndData();
345 }
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Render.java:371:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
368 tess.callVertexOrVertexData( e.Sym.Org.data);
369 }
370
371 assert (size == 0);
372 tess.callEndOrEndData();
373 }
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:164:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
161 * deleted with zero winding number (ie. it better not get merged
162 * with a real edge).
163 */
164 assert (reg.eUp.winding == 0);
165 }
166 reg.eUp.activeRegion = null;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:175:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
172 /*
173 * Replace an upper edge which needs fixing (see ConnectRightVertex).
174 */ {
175 assert (reg.fixUpperEdge);
176 if (!Mesh.__gl_meshDelete(reg.eUp)) return false;
177 reg.fixUpperEdge = false;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:357:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
354 /* Insert the new right-going edges in the dictionary */
355 e = eFirst;
356 do {
357 assert (Geom.VertLeq(e.Org, e.Sym.Org));
358 AddRegionBelow(tess, regUp, e.Sym);
359 e = e.Onext;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:399:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
396 ePrev = e;
397 }
398 regPrev.dirty = true;
399 assert (regPrev.windingNumber - e.winding == reg.windingNumber);
400
401 if (cleanUp) {
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:576:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
573 GLUhalfEdge eLo = regLo.eUp;
574 GLUhalfEdge e;
575
576 assert (!Geom.VertEq(eUp.Sym.Org, eLo.Sym.Org));
577
578 if (Geom.VertLeq(eUp.Sym.Org, eLo.Sym.Org)) {
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:623:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
620 GLUvertex orgMin;
621 GLUhalfEdge e;
622
623 assert (!Geom.VertEq(dstLo, dstUp));
624 assert (Geom.EdgeSign(dstUp, tess.event, orgUp) <= 0);
625 assert (Geom.EdgeSign(dstLo, tess.event, orgLo) >= 0);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:624:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
621 GLUhalfEdge e;
622
623 assert (!Geom.VertEq(dstLo, dstUp));
624 assert (Geom.EdgeSign(dstUp, tess.event, orgUp) <= 0);
625 assert (Geom.EdgeSign(dstLo, tess.event, orgLo) >= 0);
626 assert (orgUp != tess.event && orgLo != tess.event);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:625:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
622
623 assert (!Geom.VertEq(dstLo, dstUp));
624 assert (Geom.EdgeSign(dstUp, tess.event, orgUp) <= 0);
625 assert (Geom.EdgeSign(dstLo, tess.event, orgLo) >= 0);
626 assert (orgUp != tess.event && orgLo != tess.event);
627 assert (!regUp.fixUpperEdge && !regLo.fixUpperEdge);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:626:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
623 assert (!Geom.VertEq(dstLo, dstUp));
624 assert (Geom.EdgeSign(dstUp, tess.event, orgUp) <= 0);
625 assert (Geom.EdgeSign(dstLo, tess.event, orgLo) >= 0);
626 assert (orgUp != tess.event && orgLo != tess.event);
627 assert (!regUp.fixUpperEdge && !regLo.fixUpperEdge);
628
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:627:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
624 assert (Geom.EdgeSign(dstUp, tess.event, orgUp) <= 0);
625 assert (Geom.EdgeSign(dstLo, tess.event, orgLo) >= 0);
626 assert (orgUp != tess.event && orgLo != tess.event);
627 assert (!regUp.fixUpperEdge && !regLo.fixUpperEdge);
628
629 if (orgUp == orgLo) return false; /* right endpoints are the same */
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:646:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
643
644 Geom.EdgeIntersect(dstUp, orgUp, dstLo, orgLo, isect);
645 /* The following properties are guaranteed: */
646 assert (Math.min(orgUp.t, dstUp.t) <= isect.t);
647 assert (isect.t <= Math.max(orgLo.t, dstLo.t));
648 assert (Math.min(dstLo.s, dstUp.s) <= isect.s);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:647:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
644 Geom.EdgeIntersect(dstUp, orgUp, dstLo, orgLo, isect);
645 /* The following properties are guaranteed: */
646 assert (Math.min(orgUp.t, dstUp.t) <= isect.t);
647 assert (isect.t <= Math.max(orgLo.t, dstLo.t));
648 assert (Math.min(dstLo.s, dstUp.s) <= isect.s);
649 assert (isect.s <= Math.max(orgLo.s, orgUp.s));
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:648:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
645 /* The following properties are guaranteed: */
646 assert (Math.min(orgUp.t, dstUp.t) <= isect.t);
647 assert (isect.t <= Math.max(orgLo.t, dstLo.t));
648 assert (Math.min(dstLo.s, dstUp.s) <= isect.s);
649 assert (isect.s <= Math.max(orgLo.s, orgUp.s));
650
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:649:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
646 assert (Math.min(orgUp.t, dstUp.t) <= isect.t);
647 assert (isect.t <= Math.max(orgLo.t, dstLo.t));
648 assert (Math.min(dstLo.s, dstUp.s) <= isect.s);
649 assert (isect.s <= Math.max(orgLo.s, orgUp.s));
650
651 if (Geom.VertLeq(isect, tess.event)) {
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:947:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
944 /* e.Org is an unprocessed vertex - just combine them, and wait
945 * for e.Org to be pulled from the queue
946 */
947 assert (TOLERANCE_NONZERO);
948 SpliceMergeVertices(tess, e, vEvent.anEdge);
949 return;
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:968:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
965 /* vEvent coincides with e.Sym.Org, which has already been processed.
966 * Splice in the additional right-going edges.
967 */
968 assert (TOLERANCE_NONZERO);
969 regUp = TopRightRegion(regUp);
970 reg = RegionBelow(regUp);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:977:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
974 /* Here e.Sym.Org has only a single fixable edge going right.
975 * We can delete it since now we have some real right-going edges.
976 */
977 assert (eTopLeft != eTopRight); /* there are some left edges too */
978 DeleteRegion(tess, reg);
979 if (!Mesh.__gl_meshDelete(eTopRight)) throw new RuntimeException();
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:1175:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
1172 * created by ConnectRightVertex().
1173 */
1174 if (!reg.sentinel) {
1175 assert (reg.fixUpperEdge);
1176 assert (++fixedEdges == 1);
1177 }
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:1176:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
1173 */
1174 if (!reg.sentinel) {
1175 assert (reg.fixUpperEdge);
1176 assert (++fixedEdges == 1);
1177 }
1178 assert (reg.windingNumber == 0);
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:1178:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
1175 assert (reg.fixUpperEdge);
1176 assert (++fixedEdges == 1);
1177 }
1178 assert (reg.windingNumber == 0);
1179 DeleteRegion(tess, reg);
1180 /* __gl_meshDelete( reg.eUp );*/
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/Sweep.java:1281:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
1278 for (f = mesh.fHead.next; f != mesh.fHead; f = fNext) {
1279 fNext = f.next;
1280 e = f.anEdge;
1281 assert (e.Lnext != e);
1282
1283 if (e.Lnext.Lnext == e) {
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/TessMono.java:92:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
89 * be close to the edge we want.
90 */
91 up = face.anEdge;
92 assert (up.Lnext != up && up.Lnext.Lnext != up);
93
94 for (; Geom.VertLeq(up.Sym.Org, up.Org); up = up.Onext.Sym)
../../src/main/java/gov/nasa/worldwind/util/glu/tessellator/TessMono.java:128:
Assertions are unreliable. Use BuildConfig.DEBUG
conditional checks instead.
125 /* Now lo.Org == up.Sym.Org == the leftmost vertex. The remaining region
126 * can be tessellated in a fan from this leftmost vertex.
127 */
128 assert (lo.Lnext != up);
129 while (lo.Lnext.Lnext != up) {
130 GLUhalfEdge tempHalfEdge = Mesh.__gl_meshConnect(lo.Lnext, lo);