|
Re: C API, GEOSGeom_getCoordSeq, quick question...: msg#00074gis.geos.devel
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
geos-devel mailing list geos-devel@xxxxxxxxxxxxxxxxxxxx http://geos.refractions.net/mailman/listinfo/geos-devel |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | C API, GEOSGeom_getCoordSeq, quick question...: 00074, Stephen Lime |
|---|---|
| Next by Date: | Re: C API, GEOSGeom_getCoordSeq, quick question...: 00074, Stephen Lime |
| Previous by Thread: | C API, GEOSGeom_getCoordSeq, quick question...i: 00074, Stephen Lime |
| Next by Thread: | Re: C API, GEOSGeom_getCoordSeq, quick question...: 00074, Stephen Lime |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |