@Test public void testGetRadii() { assertArrayEquals(new double[] { 1, 1, 1 }, unitSphere.getRadii(), 1E-9); assertArrayEquals(new double[] { 3, 2, 1 }, oneTwoThree.getRadii(), 1E-9); assertArrayEquals(new double[] { 17, 5, 3 }, threeFiveSeventeen.getRadii(), 1E-9); assertArrayEquals(new double[] { 17, 13, 7 }, rotated.getRadii(), 1E-9); }
public double[] getRadii() { return new double[] { ra, rb, rc }; }
Ellipsoid { public double[] getRadii() { return new double[] { ra, rb, rc }; } }
Ellipsoid { public double[] getRadii() { return new double[] { ra, rb, rc }; } Ellipsoid(final Object[] ellipsoid);  Ellipsoid(final double a, final double b, final double c,
		final double cx, final double cy, final double cz,
		final double[][] eigenVectors); }
Ellipsoid { public double[] getRadii() { return new double[] { ra, rb, rc }; } Ellipsoid(final Object[] ellipsoid);  Ellipsoid(final double a, final double b, final double c,
		final double cx, final double cy, final double cz,
		final double[][] eigenVectors); boolean contains(final double x, final double y, final double z); void contract(final double increment); Ellipsoid copy(); void dilate(final double da, final double db, final double dc); double[] getAxisAlignedBoundingBox(); double[] getCentre(); double[] getRadii(); double[][] getRotation(); void setRotation(final double[][] rotation); double[] getSortedRadii(); double[][] getSurfacePoints(final int nPoints); double[][] getSurfacePoints(final double[][] vectors); double getVolume(); double[] getYMinAndMax(); double[] getZMinAndMax(); void rotate(final double[][] rotation); void setCentroid(final double x, final double y, final double z); static double[][] transpose(final double[][] a); }
Ellipsoid { public double[] getRadii() { return new double[] { ra, rb, rc }; } Ellipsoid(final Object[] ellipsoid);  Ellipsoid(final double a, final double b, final double c,
		final double cx, final double cy, final double cz,
		final double[][] eigenVectors); boolean contains(final double x, final double y, final double z); void contract(final double increment); Ellipsoid copy(); void dilate(final double da, final double db, final double dc); double[] getAxisAlignedBoundingBox(); double[] getCentre(); double[] getRadii(); double[][] getRotation(); void setRotation(final double[][] rotation); double[] getSortedRadii(); double[][] getSurfacePoints(final int nPoints); double[][] getSurfacePoints(final double[][] vectors); double getVolume(); double[] getYMinAndMax(); double[] getZMinAndMax(); void rotate(final double[][] rotation); void setCentroid(final double x, final double y, final double z); static double[][] transpose(final double[][] a); public int id; }