window.c 974 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. ****************************************************************************
  3. *
  4. * MODULE: Vector library
  5. *
  6. * AUTHOR(S): Original author CERL, probably Dave Gerdes or Mike Higgins.
  7. * Update to GRASS 5.7 Radim Blazek and David D. Gray.
  8. *
  9. * PURPOSE: Higher level functions for reading/writing/manipulating vectors.
  10. *
  11. * COPYRIGHT: (C) 2001 by the GRASS Development Team
  12. *
  13. * This program is free software under the GNU General Public
  14. * License (>=v2). Read the file COPYING that comes with GRASS
  15. * for details.
  16. *
  17. *****************************************************************************/
  18. #include <grass/Vect.h>
  19. /*
  20. int
  21. Vect__get_window (
  22. struct Map_info *Map, double *n, double *s, double *e, double *w)
  23. {
  24. struct dig_head *dhead;
  25. dhead = &(Map->head);
  26. *n = dhead->N;
  27. *s = dhead->S;
  28. *e = dhead->E;
  29. *w = dhead->W;
  30. return (0);
  31. }
  32. */