[geos-devel] createEmptyGeometry() creates instance of GeometryCollection

Mateusz Łoskot mateusz at loskot.net
Thu Mar 30 05:50:43 EST 2006


Hi,

Simple question, is this intentional to return empty
GeometryCollection instance from createEmptyGeometry() function?
Currently, this function does the same as createGeometryCollection().

GeometryCollection*
GeometryFactory::createGeometryCollection() const
{
   return new GeometryCollection(NULL,this);
}

Geometry*
GeometryFactory::createEmptyGeometry() const
{
   return new GeometryCollection(NULL,this);
}

Cheers
-- 
Mateusz Łoskot
http://mateusz.loskot.net




More information about the geos-devel mailing list