[geos-devel] GeometryFactory - call for explanation

Mateusz Łoskot mateusz at loskot.net
Thu Mar 30 20:09:41 EST 2006


Hi,

Could anyone explain/confirm me assumptions behind
the GeometryFactory class?
Depending on its semantic I'd have some proposal to refactor it.
Here are my qusetions:

Are following assumptions correct?

1. Ever instance of Geometry type (or its subtype) can have assigned its
own instance of GeometryFactory

2. One instance of GeometryFactory class can be shared (assigned to)
between more than one objects of Geometry class

3. It is not assumed that all geometries share the same
common instance of GeometryFactory

Thanks in advance for comments
Cheers
-- 
Mateusz Łoskot
http://mateusz.loskot.net



More information about the geos-devel mailing list