Main Page | Data Structures | Directories | File List | Globals

mqinsets4f.h

Go to the documentation of this file.
00001 #ifndef _MQINSETS4F_H_
00002 #define _MQINSETS4F_H_
00003 
00004 /* Copyright (c) Kyriacos Leptos and the President and Fellows of Harvard University
00005    Release Date: 2004-11-01
00006    Part of the MapQuant suite library "mqbasic.lib" 
00007 */
00008 
00022 struct Insets4f
00023 {
00024     float x_start;
00025     float x_stop;
00026 
00027     float y_start;
00028     float y_stop;
00029 
00030 };
00031 
00032 typedef struct Insets4f Insets4f;
00033 
00034 Insets4f    Insets4f_new        (float x1, float x2, float y1, float y2);
00035 Insets4i    Insets4f_convert    (Insets4f insets);
00036 Insets4f    Insets4f_mergeInsets(Insets4f RECT1, Insets4f RECT2);
00037 void        Insets4f_order(Insets4f* insets);
00038 void        Insets4f_fprint     (FILE* fp, Insets4f *insets);
00039 void        Insets4f_fprintln   (FILE* fp, Insets4f *insets);
00040 void        Insets4f_fprintAsHeader(FILE* fp, Insets4f *insets);
00041 
00042 int         Insets4f_isPointInside(Insets4f* rect, float x, float y);
00043 int         Insets4f_correctSubInsets(Insets4f* subrect, Insets4f* rect);
00044 void        Insets4f_round(Insets4f* insets);
00045 Insets4f*   Insets4fArray_create(int size, int start_index);
00046 
00047 struct Insets4f  Insets4i_convert(Insets4i rect);
00048 // to do: Insets4f_getFromInsets4i(Insets4f* insets, Insets4i* rect);
00049 
00050 #endif
00051 

Generated on Tue Feb 7 03:25:43 2006 for libmqbasic by  doxygen 1.4.4