@Test
public void testToRectangle2D() {

	Rectangle2d expected = new Rectangle2d(
			this.minx, this.miny,
			this.maxx - this.minx,
			this.maxy - this.miny);
	assertEpsilonEquals(expected.getMinX(), this.bounds.toRectangle2d().getMinX());
	assertEpsilonEquals(expected.getMinY(), this.bounds.toRectangle2d().getMinY());
	assertEpsilonEquals(expected.getMaxX(), this.bounds.toRectangle2d().getMaxX());
	assertEpsilonEquals(expected.getMaxY(), this.bounds.toRectangle2d().getMaxY());
}