Added to toString() method to CuboidRegion.

This commit is contained in:
TomyLobo 2011-08-08 14:39:16 +02:00
parent 2c155c241b
commit 6f79df8398

View File

@ -342,4 +342,14 @@ public class CuboidRegion implements Region {
}
};
}
/**
* Returns string representation "( (x, y, z) - (x, y, z) )".
*
* @return string
*/
@Override
public String toString() {
return "( "+getMinimumPoint()+" - "+getMaximumPoint()+" )";
}
}