src/shview.c

00001 
00006 /*
00007  *  PROGRAM NAME:  sh
00008  *
00009  *  (c) COPYRIGHT INTERNATIONAL BUSINESS MACHINES
00010  *  CORPORATION 12/1/2001.  ALL RIGHTS RESERVED.
00011  *
00012  *  Please refer to the LICENSE file in the top directory
00013  *
00014  *      author: Mike Henderson mhender@watson.ibm.com
00015  */
00016 
00017 static char *id="@(#) $Id: shview.c,v 1.2 2006/08/17 19:28:17 mhender Exp $";
00018 
00019 #include <shInternal.h>
00020 
00034 void shview(float *dist,float *alpha,float *beta,float *xmin,float *xmax,float *ymin,float *ymax,float *zmin,float *zmax)
00035  {
00036   float zero=0.;
00037   float one=0.;
00038 
00039 /*    Set view point and scale.  */
00040 
00041   shsize(&one,&zero,&zero,&one,&zero);
00042   shvw(dist,alpha,beta,xmin,xmax,ymin,ymax,zmin,zmax);
00043   shscal(xmin,xmax,ymin,ymax,zmin,zmax);
00044   return;
00045  }

Generated on Thu Aug 17 15:29:43 2006 for sh by  doxygen 1.4.6