[geos-devel] C API, GEOSGeom_getCoordSeq, quick question...
Stephen Lime
sdlime at comcast.net
Mon Jun 26 00:42:46 EDT 2006
Cool, thanks for the confirmation.
Steve
On Jun 25, 2006, at 11:39 PM, Charlie Savage wrote:
> GEOSCoordSeq_create returns a pointer you need to clean up using
> GEOSCoordSeq_destroy.
>
> However, if you use the returned coordinate sequence as a parameter to
> createPoint, createLineString, etc then the new geometry takes over
> ownership (so you have to clean up the geometry instead).
>
> Charlie
>
> Stephen Lime wrote:
>> Hi all: Is the coord seq returned by that function a pointer to owned
>> coordinates or a new copy that
>> needs to be cleaned up?
>> Steve
>> _______________________________________________
>> geos-devel mailing list
>> geos-devel at geos.refractions.net
>> http://geos.refractions.net/mailman/listinfo/geos-devel
> _______________________________________________
> 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