[geos-devel] GeometryFactory - call for explanation

Mateusz Łoskot mateusz at loskot.net
Fri Mar 31 03:31:33 EST 2006


strk at refractions.net wrote:
> I'm in favour of this, but it would be an immutable
> instance, using a FLOATING PrecisionModel.

Do you mean you want to provide single global common factory?

> There is already one in Geometry::INTERNAL_FACTORY, I
> would change it's access method to GeometryFactory::defaultInstance()
> and ensure constness.

and I'd let defaultInstance() to return shared_ptr.

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



More information about the geos-devel mailing list