?? pminval.c
字號:
/* * pminval.c$Log$Revision 1.3 2006/02/07 10:17:15 kdejongFixed endian compile problemsome rcs issues of Kor, I guessChecked in by cees (cees@pcraster.nl) on account of KorRevision 1.3 2005/10/03 07:23:00 korRemoved rcs id stringRevision 1.2 2005/09/29 18:43:23 ceesx86_64Revision 1.1.1.1 2000/01/04 21:04:52 ceesInitial import CeesRevision 2.1 1996/12/29 19:35:21 ceessrc tree clean upRevision 2.0 1996/05/23 13:16:26 ceescsf2cleanRevision 1.1 1996/05/23 13:11:49 ceesInitial revisionRevision 1.3 1995/11/01 17:23:03 cees. * Revision 1.2 1994/09/05 15:59:34 cees * added app2file conversion * added c2man docs * * Revision 1.1 1994/08/26 13:33:23 cees * Initial revision * */#include "csf.h"#include "csfimpl.h"/* set new minimum cell value * RputMinVal set a new value stored in * the header as the minimum value. * minMaxStatus is set to MM_DONTKEEPTRACK * * NOTE * Note that the header minimum set must be equal or * smaller than the minimum value in the map. * * example * .so examples/set_min.tr */void RputMinVal( MAP *map, /* map handle */ const void *minVal) /* New minimum value */{ /* use buffer that can hold largest * cell representation */ CSF_VAR_TYPE buf_1; void *buf = (void *)(&buf_1); CHECKHANDLE(map); /* make a copy */ CsfGetVarType(buf, minVal, map->appCR); /* convert */ map->app2file((size_t)1,buf); /* set */ CsfGetVarType( (void *)&(map->raster.minVal), buf, RgetCellRepr(map)); map->minMaxStatus = MM_DONTKEEPTRACK;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -