createGeometry() should never return NULL
toPolygon2d() should never return NULL
doc
More correct handling of empty geometry. Should fix a few crash bugs
Added some malformed polyhedron tests and fixed an assertion bug
Added some malformed polygon tests