CGGeometry Extensions for easy geometry calculations