Main Page | Modules | Data Structures | File List | Data Fields | Globals

massspec/insets4f.h

Go to the documentation of this file.
00001 #ifndef _INSETS4F_H_ 00002 #define _INSETS4F_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 "massspec.lib" 00007 */ 00008 00020 struct Insets4f 00021 { 00022 float x_start; 00023 float x_stop; 00024 00025 float y_start; 00026 float y_stop; 00027 00028 }; 00029 00030 typedef struct Insets4f Insets4f; 00031 00032 Insets4f Insets4f_new (float x1, float x2, float y1, float y2); 00033 Rectangle4i Insets4f_convert (Insets4f insets); 00034 Insets4f Insets4f_mergeInsets(Insets4f RECT1, Insets4f RECT2); 00035 void Insets4f_order(Insets4f* insets); 00036 void Insets4f_fprint (FILE* fp, Insets4f *insets); 00037 void Insets4f_fprintln (FILE* fp, Insets4f *insets); 00038 void Insets4f_fprintAsHeader(FILE* fp, Insets4f *insets); 00039 00040 int Insets4f_isPointInside(Insets4f* rect, float x, float y); 00041 int Insets4f_correctSubInsets(Insets4f* subrect, Insets4f* rect); 00042 void Insets4f_round(Insets4f* insets); 00043 Insets4f* Insets4fArray_create(int size, int start_index); 00044 00045 #endif 00046

Generated on Sun Feb 13 01:05:57 2005 for MapQuant by doxygen 1.3.7