00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 #ifndef __Analise__h
00043 #define __Analise__h
00044
00045 #ifndef __double_vector
00046 #define __double_vector
00047 typedef real vector[4];
00048 #endif
00049 #ifndef __struct_solid
00050 #define __struct_solid
00051 typedef struct solid STYPE;
00052 #endif
00053 #ifndef __struct_face
00054 #define __struct_face
00055 typedef struct face FTYPE;
00056 #endif
00057 #ifndef __struct_loop
00058 #define __struct_loop
00059 typedef struct loop LTYPE;
00060 #endif
00061 #ifndef __struct_edge
00062 #define __struct_edge
00063 typedef struct edge ETYPE;
00064 #endif
00065 #ifndef __struct_halfedge
00066 #define __struct_halfedge
00067 typedef struct halfedge HTYPE;
00068 #endif
00069 #ifndef __struct_vertex
00070 #define __struct_vertex
00071 typedef struct vertex VTYPE;
00072 #endif
00073
00074
00075 void MSD_execArea(void);
00076 void MSD_execNameArea(void);
00077 real MSD_highArea(Id sn);
00078 real MSD_highNameArea(char *name);
00079 real MSD_lowLoopArea(LPTYPE l);
00080 real MSD_lowFaceArea(FPTYPE f);
00081 real MSD_lowSolidArea(SPTYPE s);
00082
00083
00084 void MSD_execNameAreaProjetada(void);
00085 int MSD_highNameAreaProjetada(char *name, real dx, real dy, real dz, real *area, real *dim);
00086 int MSD_highAreaProjetada(Id sn, real dx, real dy, real dz, real *area, real *dim);
00087 int MSD_lowAreaProjetada(SPTYPE s, real dx, real dy, real dz, real *area, real *dim, int flag);
00088 void MSD_lowMakeUnion(FPTYPE f, vector dir);
00089 void MSD_lowMoveFace(FPTYPE f, vector dir);
00090 SPTYPE MSD_CriaListaDePoligonosCoplanares(SPTYPE s, vector dir);
00091 real MSD_Calcula_Area_da_Uniao(SPTYPE s);
00092 void MSD_lowRebatePontoNoPlano(vector p2, vector pp, vector dir);
00093 real MSD_lowModuloReal(real num);
00094 int MSD_lowMaximaDirecao(vector p);
00095 real MSD_lowSolidDimensaoPrincipal(SPTYPE s, vector normal);
00096
00097
00098 void MSD_execNameCentroCarena(void);
00099 int MSD_highNameCentroCarena(char *name, vector vec);
00100 int MSD_highCentroCarena(Id sn, vector vec);
00101 int MSD_lowCentroCarena(SPTYPE s, vector ctotal);
00102
00103
00104 void MSD_execCentroCarenaTotal(void);
00105 void MSD_lowCentroCarenaTotal(vector ctotal);
00106
00107
00108 void MSD_execNameCentroDeGravidade(void);
00109 int MSD_highNameCentroDeGravidade(char *name, vector centro);
00110 int MSD_highCentroDeGravidade(Id sn, vector vec);
00111 int MSD_lowCentroDeGravidade(SPTYPE s, vector centro);
00112
00113
00114 void MSD_execCentroMassaTotal(void);
00115 void MSD_lowCentroMassaTotal(vector ctotal);
00116
00117
00118 void MSD_execNameDensidadeAbsoluta(void);
00119 int MSD_highNameDensidadeAbsoluta(char *name, real densrel);
00120 int MSD_highDensidadeAbsoluta(Id sn, real densrel);
00121 int MSD_lowDensidadeAbsoluta(SPTYPE s, real densrel);
00122
00123
00124 void MSD_execNameDensidadeRelativa(void);
00125 int MSD_highNameDensidadeRelativa(char *name, real densrel);
00126 int MSD_highDensidadeRelativa(Id sn, real densrel);
00127 int MSD_lowDensidadeRelativa(SPTYPE s, real densrel);
00128
00129
00130 void MSD_execDensidadeFluido(void);
00131 void MSD_lowDensidadeFluido(real dens);
00132
00133
00134 void MSD_execEmpuxoTotal(void);
00135 real MSD_lowEmpuxoTotal(void);
00136
00137
00138 void MSD_execMatrizInerciaTotal(void);
00139 void MSD_lowMatrizInerciaTotal(matrix mat);
00140
00141
00142 void MSD_execNameMassa(void);
00143 real MSD_highNameMassa(char *name);
00144 real MSD_highMassa(Id sn);
00145 real MSD_lowMassa(SPTYPE s);
00146
00147
00148 void MSD_execNameMatrizInercia(void);
00149 int MSD_highNameMatrizInercia(char *name, matrix mat);
00150 int MSD_highMatrizInercia(Id sn, matrix mat);
00151 int MSD_lowMatrizInercia(SPTYPE s, matrix mat, vector cg);
00152
00153
00154 void MSD_execMassaTotal(void);
00155 real MSD_lowMassaTotal(void);
00156
00157
00158 void MSD_execPesoTotal(void);
00159 real MSD_lowPesoTotal(void);
00160
00161
00162 void MSD_execAnaliseShow(void);
00163 void MSD_lowAnaliseShow(char *name);
00164
00165
00166 void MSD_execVolumeFlutuabilidadeTotal(void);
00167 real MSD_lowVolumeFlutuabilidadeTotal(void);
00168
00169
00170 void MSD_execNameVolume(void);
00171 void MSD_execVolume(void);
00172 real MSD_highNameVolume(char *);
00173 real MSD_highVolume(Id sn);
00174 real MSD_lowVolume(SPTYPE s);
00175
00176
00177 void MSD_execVolumeTotal(void);
00178 real MSD_lowVolumeTotal(void);
00179
00180 #endif