hp2FEM
0.1
|
00001 // modificado em 7/12/93 00002 00003 #ifndef ACDPTYPE_H 00004 #define ACDPTYPE_H 00005 00006 #ifndef BOOLDEF 00007 #define BOOLDEF 00008 typedef int BOOL; 00009 #define TRUE 1 00010 #define FALSE 0 00011 #endif 00012 00013 00014 #ifndef ACPOINT2 00015 #define ACPOINT2 00016 struct acPoint2 00017 { 00018 double x, y; 00019 acPoint2(double a = 0, double b = 0) { x = a; y = b; } 00020 }; 00021 #endif 00022 00023 #ifndef ACIPOINT2 00024 #define ACIPOINT2 00025 struct acIPoint2 00026 { 00027 int x, y; 00028 acIPoint2(int a = 0, int b = 0) { x = a; y = b; } 00029 }; 00030 #endif 00031 00032 00033 #ifndef ACLIMIT2 00034 #define ACLIMIT2 00035 struct acLimit2 00036 { 00037 double xmin, xmax, 00038 ymin, ymax; 00039 acLimit2(double a = 0, double b = 0, double c = 0, double d = 0) 00040 { 00041 xmin = a; ymin = b; xmax = c; ymax = d; 00042 } 00043 }; 00044 #endif 00045 00046 #ifndef ACLIMIT3 00047 #define ACLIMIT3 00048 struct acLimit3 00049 { 00050 double xmin, xmax, 00051 ymin, ymax, 00052 zmin, zmax; 00053 acLimit3(double a = 0, double b = 0, double c = 0, 00054 double d = 0, double e = 0, double f = 0) 00055 { 00056 xmin = a; ymin = b; zmin = c; 00057 xmax = d; ymax = e; zmax = f; 00058 } 00059 }; 00060 #endif 00061 00062 00063 #ifndef ACPOINT3 00064 #define ACPOINT3 00065 #if defined(__16BITS__) 00066 struct acPoint3 00067 { 00068 double x, y, z, dummy; 00069 acPoint3(double a = 0, double b = 0, double c = 0) { x = a; y = b; z = c; } 00070 }; 00071 #else 00072 struct acPoint3 00073 { 00074 double x, y, z; 00075 acPoint3(double a = 0, double b = 0, double c = 0) { x = a; y = b; z = c; } 00076 }; 00077 #endif 00078 #endif 00079 00080 00081 #ifndef ACLPOINT2 00082 #define ACLPOINT2 00083 struct acLPoint2 00084 { 00085 double x, y; 00086 acLPoint2(double a = 0, double b = 0) { x = a; y = b; } 00087 }; 00088 #endif 00089 00090 #ifndef ACWLIMIT 00091 #define ACWLIMIT 00092 typedef acLimit2 acWlimit; 00093 typedef acLimit2 acVlimit; 00094 typedef acLimit3 acWlimit3; 00095 typedef acLimit3 acVlimit3; 00096 #endif 00097 00098 00099 #ifndef ACCOBUNDL 00100 #define ACCOBUNDL 00101 #if defined(__16BITS__) 00102 struct acCobundl 00103 { 00104 float x, y, z, dummy; 00105 acCobundl(float a = 0, float b = 0, float c = 0) { x = a; y = b; z = c; } 00106 }; 00107 #else 00108 struct acCobundl 00109 { 00110 float x, y, z; 00111 acCobundl(float a = 0, float b = 0, float c = 0) { x = a; y = b; z = c; } 00112 }; 00113 #endif 00114 #endif 00115 00116 00117 #endif // ACDPTYPE_H 00118