Exemple #1
0
 public void delete() {
   begin();
   Extent extent = db().getExtent(JB4.class, false);
   Iterator it = extent.iterator();
   while (it.hasNext()) {
     db().deletePersistent(it.next());
     addToCheckSum(5);
   }
   extent.closeAll();
   commit();
 }
 protected Vec4 computeReferenceCenter(DrawContext dc) {
   Extent extent = this.getExtent(dc);
   return extent != null ? extent.getCenter() : null;
 }