1MPIPAR(3NCARG)                   NCAR GRAPHICS                  MPIPAR(3NCARG)
2
3
4

NAME

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

SYNOPSIS

12       IPAR=MPIPAR(IAIN)
13

C-BINDING SYNOPSIS

15       #include <ncarg/ncargC.h>
16
17       int c_mpipar (int iain)
18

DESCRIPTION

20       IAIN        is an input expression of type INTEGER, specifying the area
21                   identifier of a particular area of interest.
22

C-BINDING DESCRIPTION

24       The C-binding argument description is the same as the FORTRAN argument
25       description.
26

USAGE

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

EXAMPLES

35       Use the ncargex command to see the following relevant example: mpex12.
36

ACCESS

38       To use MPIPAR or c_mpipar, load the NCAR Graphics libraries ncarg,
39       ncarg_gks, and ncarg_c, preferably in that order.
40

SEE ALSO

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-2007
54       University Corporation for Atmospheric Research
55
56       This documentation is free software; you can redistribute it and/or
57       modify it under the terms of the GNU General Public License as
58       published by the Free Software Foundation; either version 2 of the
59       License, or (at your option) any later version.
60
61       This software is distributed in the hope that it will be useful, but
62       WITHOUT ANY WARRANTY; without even the implied warranty of
63       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
64       General Public License for more details.
65
66       You should have received a copy of the GNU General Public License along
67       with this software; if not, write to the Free Software Foundation,
68       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
69
70
71
72UNIX                              April 1998                    MPIPAR(3NCARG)
Impressum