2D/3D software library with a focus on basic geometric manipulations