The Fortran name of this function is NhlFNDCPolyline.
Given arrays containing the X and Y coordinates of points in NDC space, this function outputs an immediate-mode polyline connecting each of the points.
#include <ncarg/hlu/hlu.h> #include <hfile for Transform class object> NhlErrorTypes NhlNDCPolyline( int pid, int gsid, float *x, float *y, int n, )
subroutine NhlFNDCPolyline(pid, gsid, x, y, n, ierr) integer pid, gsid, n, ierr float x(n), y(n)
Type name: NhlTErrorTypes Definition: typedef enum _NhlErrType{ NhlFATAL = -4, /* "FATAL" */ NhlWARNING = -3, /* "WARNING" */ NhlINFO = -2, /* "INFO" */ NhlNOERROR = -1 /* "NOERROR" */ } NhlErrorTypes;
You specify the polyline's attributes by passing in a
GraphicStyle object using the parameter
gsid. If gsid is set to NhlNULLOBJID
(0)
then the line attributes are determined by the current settings of the
Workstation default GraphicStyle
object. Retrieve the id of the default GraphicStyle
object using the read-only Workstation resource
wkDefGraphicStyleId.
Value | Meaning --------+------------------------------------------------- NOERROR | function successful --------+------------------------------------------------- INFO | minor recoverable error --------+------------------------------------------------- WARNING | recoverable error --------+------------------------------------------------- FATAL | function failed; continuing the program | may result in core dump
NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?