private void calcDistSqFromEye(final Point3d eyePosInLocal) { distSqFromEye = eyePosInLocal.distanceSquared(midp); }
if (p.distanceSquared( sphere.center) > sphere.radius*sphere.radius){ if (debug) {
radsq = radius + sphere.radius; radsq *= radsq; distsq = center.distanceSquared(sphere.center); return (distsq <= radsq); } else if(boundsObject.boundId == BOUNDING_POLYTOPE) {
radsq = radius + sphere.radius; radsq *= radsq; distsq = center.distanceSquared(sphere.center); if (distsq <= radsq) { return true;
radsq = sphere.radius; radsq *= radsq; distsq = sphere.center.distanceSquared(sphere.center); if (distsq < radsq) { return true;
double prevDist = p.distanceSquared(g); double dist; dist = p.distanceSquared(gnew); dist = pnew.distanceSquared(g);
if (renderAtom.rListInfo[k].geometry() == null) continue; zVal = renderAtom.geometryAtom.centroid[k].distanceSquared(eyeInVworld); renderAtom.parentTInfo[k].zVal = zVal; renderAtom.parentTInfo[k].geometryAtom = renderAtom.geometryAtom;