#include <uf.h>
#if ! defined ( __hp9000s800 ) && ! defined ( __sgi ) && ! defined ( __sun )
# include <strstream>
# include <iostream>
using std:strstream;
using std::endl;
using std::ends;
using std::cerr;
#else
# include <strstream.h>
# include <iostream.h>
#endif
#include "test.h"
#include <uf.h>
#include <uf_modl.h>
#include <uf_part.h>
#include <uf_defs.h>
// Main routine
extern void main( char argc, char *argv[] )
{
/* Initialize the API environment */
int errorCode = UF_initialize();
if ( 0 == errorCode )
{
/* TODO: Add your application code here */
tag_t body_id;/* <I> Face identifier. */
double param[2];/* <I> Parameter (u,v) on face (param[2]). */
double point[3];/* <O> Point at parameter (point[3]). */
double u1[3];/* <O> First derivative in U (u1[3]). */
double v1[3];/* <O> First derivative in V (v1[3]). */
double u2[3];/* <O> Second derivative in U (u2[3]). */
double v2[3];/* <O> Second derivative in V (v2[3]). */
double unit_norm[3];/* <O> Unit face normal (unit_norm[3]). */
double radii[2]; /* <O> Principal radii of curvature (radii[2]). */
UF_PART_load_status_t error_status;
uf_list_p_t face_list;
double wn;
int num;