Corrado wrote:
> Where do I find these files, like poly.c? I cannot find them on my 
> installation. I have 6.2.3 on Ubuntu 7.10, with the grass-dev package
> installed. 
> 
> Do I have to use python?
> 
> I thought I could use a bash script.


I was meaning fundamentally those functions are present in the C source
code if you want to have a peek under the bonnet:
  http://trac.osgeo.org/grass/browser/grass/trunk/lib/vector/Vlib/

If that's a bit dense you can check out what the Programmer's module:
  http://download.osgeo.org/grass/grass6_progman/


But typically you should be able to get at whatever functionality you
need from the modules (command line / GUI interfaces). There isn't much
you can't do with the modules, it may not be obvious which module
contains the functionality, but if you keep searching+asking eventually
a solution comes to light.

If you must have access to a function not covered by a module or e.g.
want to write a high performance custom model into a new module, you
can get access to those C library functions using the SWIG Python
interface without having to mess with knowing C.


Hamish



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to