1MPIPAN(3NCARG) NCAR GRAPHICS MPIPAN(3NCARG)
2
3
4
6 MPIPAN - Given the area identifier of one of the areas defined by
7 whatever database was last read by the EZMAPB routines MPLNAM, MPLNDM,
8 MPLNDR, and MPLNRI and a name, this function has a non-zero value if
9 and only if the area with the specified area identifier is part of some
10 area with the specified name.
11
13 IPRT=MPIPAN(IAIN,ANME)
14
16 #include <ncarg/ncargC.h>
17
18 int c_mpipan (int iain, char *anme)
19
21 IAIN is an input expression of type INTEGER, specifying the area
22 identifier of a particular area of interest.
23
24 ANME is an input expression of type CHARACTER, specifying a name
25 of interest.
26
28 The C-binding argument description is the same as the FORTRAN argument
29 description.
30
32 The statement "IPRT=MPIPAN(IAIN,ANME)" sets IPRT non-zero if and only
33 if the area having area identifier IAIN is a part of some area having
34 the name ANME. For example, if IMAD is the area identifier of the
35 little island in Lake Superior called "Lake Madeline", then
36 MPIPAN(IMAD,'Conterminous US') has a non-zero value, but
37 MPIPAN(IMAD,'Russia') does not.
38
40 None.
41
43 To use MPIPAN or c_mpipan, load the NCAR Graphics libraries ncarg,
44 ncarg_gks, and ncarg_c, preferably in that order.
45
47 Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod,
48 mapfst, mapgci, mapgrd, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint,
49 mapiq, mapiqa, mapiqd, mapiqm, mapit, mapita, mapitd, mapitm, maplbl,
50 maplmb, maplot, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc,
51 mapsti, mapstl, mapstr, maptra, maptri, maptrn, mapusr, mapvec, mpchln,
52 mpfnme, mpgetc, mpgeti, mpgetl, mpgetr, mpglty, mpiaty, mpifnb, mpilnb,
53 mpiola, mpiosa, mpipai, mpipar, mpisci, mplnam, mplndm, mplndr, mplnri,
54 mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon,
55 ncarg_cbind
56
58 Copyright (C) 1987-2007
59 University Corporation for Atmospheric Research
60
61 This documentation is free software; you can redistribute it and/or
62 modify it under the terms of the GNU General Public License as
63 published by the Free Software Foundation; either version 2 of the
64 License, or (at your option) any later version.
65
66 This software is distributed in the hope that it will be useful, but
67 WITHOUT ANY WARRANTY; without even the implied warranty of
68 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
69 General Public License for more details.
70
71 You should have received a copy of the GNU General Public License along
72 with this software; if not, write to the Free Software Foundation,
73 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
74
75
76
77UNIX April 1998 MPIPAN(3NCARG)