On Tue, Jul 11, 2006 at 12:20:46PM -0600, Charlie Savage wrote:
> To create a coordinate sequence via the C API you use this method:
> 
> GEOSCoordSeq_create(unsigned int size, unsigned int dims)
> 
> If you trace through the code though, the dims is never used. 
> Coordinate sequences always have 3 dimensions.  I guess there are plans 
> to have different types of coordinate sequences in the future?

Maybe :)

> In the SWIG bindings, should I hide this parameter since its not used or 
> go ahead and expose it (right now its exposed).

That's depend on how bindings would handled a future addition of it.
We wouldn't be able to add a parameter to a C api, thus the dimension
arg is there now.

--strk;
_______________________________________________
geos-devel mailing list
geos-devel@geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel

Reply via email to