MAPITD(3NCARG) | NCAR GRAPHICS | MAPITD(3NCARG) |
MAPITD - Draws lines on a map. MAPITD is just like MAPIT, but, ultimately, DASHPACK routines are called instead of DASHCHAR routines.
CALL MAPITD (RLAT,RLON,IFST)
#include <ncarg/ncargC.h>
void c_mapitd (float rlat, float rlon, int ifst)
The C-binding argument descriptions are the same as the FORTRAN argument descriptions.
MAPITD is used to draw lines on the map. MAPITD attempts to omit nonvisible portions of lines and to handle "crossover," a jump from one end of the map to the other caused by the projection of the globe onto a flat surface. Crossover can occur on cylindrical and conical projections; MAPITD handles it gracefully on the former and not so well on the latter.
To draw the projection of a line defined by a series of lat/lon coordinates, start by calling MAPITD with the coordinates of the first point and with IFST = 0. Then, call MAPITD repeatedly with the coordinates of the next point along the line and with IFST = 1 or 2. (IFST = 2 is normally used only for the final point, to ensure closure with a line drawn by another series of calls.) Finally, if the next thing your program does is STOP, call FRAME, or change attributes like color or line width, you should call MAPIQD to flush MAPITD's buffers.
The EZMAP parameter 'DL' determines whether MAPITD draws solid lines or dotted lines. Dotted lines are drawn using calls to POINTS. Solid lines are drawn using calls to DPFRST and DPVECT. The parameters 'DD' and 'MV' also affect MAPITD's behavior. See the descriptions of these parameters in the ezmap_params man page.
Keep in mind the following:
Because of these considerations, points defining a line should not be too far apart on the globe.
There are two types of boundaries between visible and invisible regions:
None.
To use MAPITD or c_mapitd, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod, mapfst, mapgci, mapgrd, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint, mapiq, mapiqa, mapiqd, mapiqm, mapit, mapita, mapitm, maplbl, maplmb, maplot, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc, mapsti, mapstl, mapstr, maptra, maptri, maptrn, mapusr, mapvec, mpchln, mpfnme, mpgetc, mpgeti, mpgetl, mpgetr, mpglty, mpiaty, mpifnb, mpilnb, mpiola, mpiosa, mpipai, mpipan, mpipar, mpisci, mplnam, mplndm, mplndr, mplnri, mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon, ncarg_cbind
Hardcopy: NCAR Graphics Contouring and Mapping Tutorial
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
March 1993 | UNIX |