/* 237 */ BoundingSphere sphere = (BoundingSphere)boundsObjects[i];
/* 238 */ this.planes = new Vector4d[6];
/* 239 */ this.mag = new double[this.planes.length];
/* 240 */ this.pDotN = new double[this.planes.length];
/* */
/* 242 */ this.planes[0] = new Vector4d(1.0D, 0.0D, 0.0D, -(sphere.center.x + sphere.radius));
/* 243 */ this.planes[1] = new Vector4d(-1.0D, 0.0D, 0.0D, sphere.center.x - sphere.radius);
/* 244 */ this.planes[2] = new Vector4d(0.0D, 1.0D, 0.0D, -(sphere.center.y + sphere.radius));
/* 245 */ this.planes[3] = new Vector4d(0.0D, -1.0D, 0.0D, sphere.center.y - sphere.radius);
/* 246 */ this.planes[4] = new Vector4d(0.0D, 0.0D, 1.0D, -(sphere.center.z + sphere.radius));
/* 247 */ this.planes[5] = new Vector4d(0.0D, 0.0D, -1.0D, sphere.center.z - sphere.radius);
/* 248 */ this.mag[0] = 1.0D;
/* 249 */ this.mag[1] = 1.0D;
/* 250 */ this.mag[2] = 1.0D;
/* 251 */ this.mag[3] = 1.0D;
/* 252 */ this.mag[4] = 1.0D;
/* 253 */ this.mag[5] = 1.0D;
/* */
/* 255 */ computeAllVerts();
/* 256 */ } else if (boundsObjects[i].boundId == 1) {
/* 257 */ BoundingBox box = (BoundingBox)boundsObjects[i];
/* 258 */ this.planes = new Vector4d[6];
/* 259 */ this.mag = new double[this.planes.length];
/* 260 */ this.pDotN = new double[this.planes.length];
/* */
/* 262 */ this.planes[0] = new Vector4d(1.0D, 0.0D, 0.0D, -box.upper.x);
/* 263 */ this.planes[1] = new Vector4d(-1.0D, 0.0D, 0.0D, box.lower.x);
/* 264 */ this.planes[2] = new Vector4d(0.0D, 1.0D, 0.0D, -box.upper.y);
/* 265 */ this.planes[3] = new Vector4d(0.0D, -1.0D, 0.0D, box.lower.y);
/* 266 */ this.planes[4] = new Vector4d(0.0D, 0.0D, 1.0D, -box.upper.z);
/* 267 */ this.planes[5] = new Vector4d(0.0D, 0.0D, -1.0D, box.lower.z);
/* 268 */ this.mag[0] = 1.0D;
/* 269 */ this.mag[1] = 1.0D;
/* 270 */ this.mag[2] = 1.0D;
/* 271 */ this.mag[3] = 1.0D;
/* 272 */ this.mag[4] = 1.0D;
/* 273 */ this.mag[5] = 1.0D;
/* */
/* 275 */ computeAllVerts();
/* 276 */ } else if (boundsObjects[i].boundId == 4) {
/* 277 */ BoundingPolytope polytope = (BoundingPolytope)boundsObjects[i];
/* 278 */ this.planes = new Vector4d[polytope.planes.length];
/* 279 */ this.mag = new double[this.planes.length];
/* 280 */ this.pDotN = new double[this.planes.length];
/* 281 */ this.nVerts = polytope.nVerts;
/* 282 */ this.verts = new Point3d[this.nVerts];
/* 283 */ for (i = 0; i < this.planes.length; i++) {
/* 284 */ this.planes[i] = new Vector4d(polytope.planes[i]);
/* 285 */ this.pDotN[i] = polytope.pDotN[i];
/* 286 */ this.mag[i] = polytope.mag[i];
/* */ }
/* 288 */ for (i = 0; i < this.verts.length; i++) {
/* 289 */ this.verts[i] = new Point3d(polytope.verts[i]);