1MPIPAR(3NCARG) NCAR GRAPHICS MPIPAR(3NCARG)
2
3
4
6 MPIPAR - Given the area identifier of one of the areas defined by
7 whatever database was last read by one of the EZMAPB routines MPLNAM,
8 MPLNDM, MPLNDR, and MPLNRI, this function returns the area identifier
9 of that area's containing (parent) area.
10
12 IPAR=MPIPAR(IAIN)
13
15 #include <ncarg/ncargC.h>
16
17 int c_mpipar (int iain)
18
20 IAIN is an input expression of type INTEGER, specifying the area
21 identifier of a particular area of interest.
22
24 The C-binding argument description is the same as the FORTRAN argument
25 description.
26
28 The statement "IPAR=MPIPAR(IAIN)" retrieves in IPAR the area identifier
29 of the parent of the area with area identifier IAIN. For example, if
30 IMAD is the area identifier of the little island in Lake Superior
31 called "Lake Madeline", then MPIPAR(IMAD) is the area identifier of the
32 area called "Wisconsin".
33
35 Use the ncargex command to see the following relevant example: mpex12.
36
38 To use MPIPAR or c_mpipar, load the NCAR Graphics libraries ncarg,
39 ncarg_gks, and ncarg_c, preferably in that order.
40
42 Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod,
43 mapfst, mapgci, mapgrd, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint,
44 mapiq, mapiqa, mapiqd, mapiqm, mapit, mapita, mapitd, mapitm, maplbl,
45 maplmb, maplot, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc,
46 mapsti, mapstl, mapstr, maptra, maptri, maptrn, mapusr, mapvec, mpchln,
47 mpfnme, mpgetc, mpgeti, mpgetl, mpgetr, mpglty, mpiaty, mpifnb, mpilnb,
48 mpiola, mpiosa, mpipai, mpipan, mpisci, mplnam, mplndm, mplndr, mplnri,
49 mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon,
50 ncarg_cbind
51
53 Copyright (C) 1987-2009
54 University Corporation for Atmospheric Research
55 The use of this Software is governed by a License Agreement.
56
57
58
59UNIX April 1998 MPIPAR(3NCARG)