Tdpack(3NCARG) | NCAR GRAPHICS | Tdpack(3NCARG) |
Tdpack - A set of routines allowing one to draw representations of three-dimensional objects.
TDPACK (which stands for "Three Dimensional PACKage") is a collection of routines for projecting objects from a 3-dimensional coordinate system having U, V, and W axes to a 2-dimensional projection plane having X and Y axes and/or for drawing the projections of those objects. This can be referred to somewhat loosely as "drawing objects in three dimensions".
Tdpack consists of the following routines:
#include <ncarg/ncargC.h>
c_tdinit
c_tdpara
c_tdclrs
c_tdgeti
c_tdgetr
c_tdgtrs
c_tdseti
c_tdsetr
c_tdstrs
c_tdprpt
c_tdprpa
c_tdprpi
c_tdline
c_tdlnpa
c_tdgrds
c_tdgrid
c_tdlbls
c_tdlbla
c_tdplch
c_tddtri
c_tdstri
c_tditri
c_tdmtri
c_tdotri
c_tdctri
c_tdsort
To use Tdpack, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
When error conditions are detected, the support routine SETER is called. By default, SETER writes a message to the standard error file (as defined by I1MACH(4)) and then terminates execution. It is possible to put SETER into recovery mode and regain control after a recoverable error (which includes all of the possible errors).
The possible error messages are listed below. All errors are recoverable in the sense that a user program which has called ENTSR to set recovery mode will get control back after one of these errors occurs.
TDGETI - UNCLEARED PRIOR ERROR
TDGETR - UNCLEARED PRIOR ERROR
TDGETR - UNRECOGNIZED PARAMETER NAME
TDINIT - UNCLEARED PRIOR ERROR
TDPARA - UNCLEARED PRIOR ERROR
TDPRPA - UNCLEARED PRIOR ERROR
TDPRPI - UNCLEARED PRIOR ERROR
TDPRPT - UNCLEARED PRIOR ERROR
TDSETI - UNCLEARED PRIOR ERROR
TDSETR - UNCLEARED PRIOR ERROR
TDSETR - UNRECOGNIZED PARAMETER NAME
Online: tdclrs, tddtri, tdgeti, tdgetr, tdgrds, tdgrid, tdgtrs, tdinit, tditri, tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack_params, tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdseti, tdsetr, tdsort, tdstri, tdstrs
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
July 1997 | UNIX |