1MPIPAI(3NCARG) NCAR GRAPHICS MPIPAI(3NCARG)
2
3
4
6 MPIPAI - Given the area identifiers of two of the areas defined by
7 whatever database was last read by the EZMAPB routines MPLNAM, MPLNDM,
8 MPLNDR, and MPLNRI, this function has a non-zero value if and only if
9 the first area is a part of the second.
10
12 IPRT=MPIPAI(IAIN,IAIP)
13
15 #include <ncarg/ncargC.h>
16
17 int c_mpipai (int iain, int iaip)
18
20 IAIN is an input expression of type INTEGER, specifying the area
21 identifier of a particular area of interest.
22
23 IAIP is an input expression of type INTEGER, specifying the area
24 identifier of a second area of interest.
25
27 The C-binding argument description is the same as the FORTRAN argument
28 description.
29
31 The statement "IPRT=MPIPAI(IAIN,IAIP)" sets IPRT non-zero if and only
32 if the area having area identifier IAIN is a part of the area having
33 area identifier IAIP. For example, if IMAD is the area identifier of
34 the little island in Lake Superior called "Lake Madeline", ICUS is the
35 area identifier of the area called 'Conterminous US', and IRUS is the
36 area identifier of the area called 'Russia', then MPIPAI(IMAD,ICUS) has
37 a non-zero value, but MPIPAI(IMAD,IRUS) does not.
38
40 None.
41
43 To use MPIPAI or c_mpipai, 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, mpipan, 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 MPIPAI(3NCARG)