Move GeometryTools to legacy for deprecation - the new GeometryUtil will take its place.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Utilise GeometryUtil in other modules.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Reformat GeometryUtil.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Minor clean up - private constructor etc.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Fixing IDE warnings.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Remove the use of awt.Dimension which is not available on JavaME/Andriod. The new methods aren't super clean but are not used elsewhere in the library.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Correct license header.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Remove the use of awt.Dimension which is not available on JavaME/Andriod. The new methods aren't super clean but are not used elsewhere in the library. Note the new API for shifting lines up with the return value of getMinMax which getRectangle2D was previously boxing.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>