A portable library of geometry classes for Java