@Test public void testSetCentroid() { final Ellipsoid ellipsoid = new Ellipsoid(1, 2, 3); final Vector3dc centroid = new Vector3d(6, 7, 8); ellipsoid.setCentroid(centroid); assertNotSame("Setter should not copy reference", centroid, ellipsoid .getCentroid()); assertEquals("Setter copied values wrong", centroid, ellipsoid .getCentroid()); }
public void setCentroid(final Vector3dc centroid) { this.centroid.set(centroid); }
Ellipsoid { public void setCentroid(final Vector3dc centroid) { this.centroid.set(centroid); } }
Ellipsoid { public void setCentroid(final Vector3dc centroid) { this.centroid.set(centroid); } Ellipsoid(final double a, final double b, final double c);  Ellipsoid(final Vector3dc u, final Vector3dc v, final Vector3dc w); }
Ellipsoid { public void setCentroid(final Vector3dc centroid) { this.centroid.set(centroid); } Ellipsoid(final double a, final double b, final double c);  Ellipsoid(final Vector3dc u, final Vector3dc v, final Vector3dc w); double getA(); void setA(final double a); double getB(); void setB(final double b); double getC(); void setC(final double c); Vector3d getCentroid(); void setCentroid(final Vector3dc centroid); Matrix4d getOrientation(); void setOrientation(final Matrix3dc semiAxes); List<Vector3d> getSemiAxes(); double getVolume(); @SuppressWarnings("unchecked") void initSampling(final OpEnvironment ops); List<Vector3d> samplePoints(final long n); void setSemiAxes(final Vector3dc u, final Vector3dc v,
		final Vector3dc w); }
Ellipsoid { public void setCentroid(final Vector3dc centroid) { this.centroid.set(centroid); } Ellipsoid(final double a, final double b, final double c);  Ellipsoid(final Vector3dc u, final Vector3dc v, final Vector3dc w); double getA(); void setA(final double a); double getB(); void setB(final double b); double getC(); void setC(final double c); Vector3d getCentroid(); void setCentroid(final Vector3dc centroid); Matrix4d getOrientation(); void setOrientation(final Matrix3dc semiAxes); List<Vector3d> getSemiAxes(); double getVolume(); @SuppressWarnings("unchecked") void initSampling(final OpEnvironment ops); List<Vector3d> samplePoints(final long n); void setSemiAxes(final Vector3dc u, final Vector3dc v,
		final Vector3dc w);  }