A java library with data structures and operations for 2D and 3D geometry