Searched refs:f_cen_point (Results 1 – 2 of 2) sorted by relevance
181 f_cen_point[j] = (fp[0][j] + fp[1][j] + fp[2][j] + fp[3][j]) / 4.0; in judge_inner_voxel_361()182 for (j = 0; j < 3; j++) c_c[j] = cen_point[j] - f_cen_point[j]; in judge_inner_voxel_361()191 for (j = 0; j < 3; j++) p_c[j] = point[j] - f_cen_point[j]; in judge_inner_voxel_361()239 for (j = 0; j < 3; j++) c_c[j] = cen_point[j] - f_cen_point[j]; in judge_inner_voxel_351()248 for (j = 0; j < 3; j++) p_c[j] = point[j] - f_cen_point[j]; in judge_inner_voxel_351()277 f_cen_point[j] = (fp[0][j] + fp[1][j] + fp[2][j]) / 3.0; in judge_inner_voxel_351()278 for (j = 0; j < 3; j++) c_c[j] = cen_point[j] - f_cen_point[j]; in judge_inner_voxel_351()287 for (j = 0; j < 3; j++) p_c[j] = point[j] - f_cen_point[j]; in judge_inner_voxel_351()352 f_cen_point[j] = (fp[0][j] + fp[1][j] + fp[2][j]) / 3.0; in judge_inner_voxel_341()353 for (j = 0; j < 3; j++) c_c[j] = cen_point[j] - f_cen_point[j]; in judge_inner_voxel_341()[all …]
119 double fp[4][3], n_f[3], n_norm, f_cen_point[3], sign_f, n_c, c_c[3]; in find_intersection_tetra() local235 f_cen_point[j] = (fp[0][j] + fp[1][j] + fp[2][j]) / 3.0; in find_intersection_tetra()236 for (j = 0; j < 3; j++) c_c[j] = fp[3][j] - f_cen_point[j]; in find_intersection_tetra()281 f_cen_point[j] = (fp[0][j] + fp[1][j] + fp[2][j]) / 3.0; in find_intersection_tetra()282 for (j = 0; j < 3; j++) c_c[j] = fp[3][j] - f_cen_point[j]; in find_intersection_tetra()395 f_cen_point[j] = (fp[0][j] + fp[1][j] + fp[2][j]) / 3.0; in find_intersection_tetra()396 for (j = 0; j < 3; j++) c_c[j] = fp[3][j] - f_cen_point[j]; in find_intersection_tetra()