X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fctsupport.h;h=f1800919f5e05df620af48d1a20352d2fc98ce5d;hp=3cc00f6c1c265d5ad221a6b81434d9a964d2d1c5;hb=2d39e823ba389fc68e5317c422b55be006094252;hpb=a95e41ac40cd2f3a4401d921618604cf33f2a904 diff --git a/include/ctsupport.h b/include/ctsupport.h index 3cc00f6..f180091 100644 --- a/include/ctsupport.h +++ b/include/ctsupport.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ctsupport.h,v 1.3 2000/06/19 19:10:08 kevin Exp $ +** $Id: ctsupport.h,v 1.4 2000/06/22 10:17:28 kevin Exp $ ** ** ** This program is free software; you can redistribute it and/or modify @@ -150,9 +150,8 @@ typedef unsigned char kuint8; /* filefuncs.cpp */ -bool file_exists(const char* fname); -const char* fileBasename(const char* filename); -FILE *sys_fopen(const char *filename, const char *mode, const char *progname); +bool fileExists (const char* fname); +const char* fileBasename (const char* filename); /* strfuncs.cpp */ char* str_skip_head(const char* str, const char* const charlist); @@ -251,8 +250,6 @@ int clip_sector (double& x1, double& y1, double& x2, double& y2, const double u, int clip_circle (double& x1, double& y1, double& x2, double& y2, const double cx, const double cy, const double radius, double t1, double t2); int clip_triangle (double& x1, double& y1, double& x2, double& y2, const double u, const double v, const int clip_xaxis); -// norm_ang.cpp -double norm_ang (double theta); // xform.cpp void indent_mtx2 (GRFMTX_2D m); @@ -265,7 +262,8 @@ void rotate2d (double x[], double y[], int pts, double angle); void xlat2d (double x[], double y[], int pts, double xoffset, double yoffset); void scale2d (double x[], double y[], int pts, double xfact, double yfact); -// simpson.cpp +// mathfuncs.cpp +double normalizeAngle (double theta); double integrateSimpson (const double xmin, const double xmax, const double *y, const int np);