[geos-devel] userData for Geometry

Paul Selormey paul at toolscenter.org
Tue Apr 13 07:20:46 EDT 2004

According to the JTS docs, this is to be used for coordinate reference
and it most systems this could be implemented as geometry filter but the
may not be applicable to some existing systems.

I think an abstract class (interface) will do with at least a "delete"
method to let
the object handle its own deletion. On both Java and .NET which supports GC,
there was no need to consider this.

BTW, I have realized work on the JTS 1.4 updates is progressing, when is the
release date?

Best regards,

----- Original Message ----- 
From: "strk" <strk at keybit.net>
To: "Yury A. Bychkov" <me at yury.ca>
Cc: <geos-devel at geos.refractions.net>
Sent: Tuesday, April 13, 2004 5:23 PM
Subject: [geos-devel] userData for Geometry

> The Geometry class has a void *userData that is
> deleted at Geometry detetion time.
> Wouldn't it be appropriate to define a class from
> which userData should derive ?
> The compiler warns that void * cannot be safely deleted.
> --strk;
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel

More information about the geos-devel mailing list