| | |
| | | CheckChamferR(); |
| | | } |
| | | |
| | | public void RecalculateArea(HdrBaseInfo hdr_info, GeomBaseInfo geom_info) |
| | | { |
| | | CalcAllArea(hdr_info, geom_info); |
| | | } |
| | | /// <summary> |
| | | /// V3æ¹äº, éæ°è®¡ç®é¢ç§¯åé«åº¦ |
| | | /// </summary> |
| | |
| | | for (int k = 0; k < 10; k++) |
| | | { |
| | | bool isChange = false; |
| | | if (this.R_Left[index] * (1+Math.Sin(this.GaMa_Left[index]*Math.PI/180)) > this.H[index]) |
| | | if (this.R_Left[index] * (1+Math.Sin(this.GaMa_Left[index]*Math.PI/180)) > this.H[index] - 3) |
| | | { |
| | | isChange = true; |
| | | this.R_Left[index] = this.R_Left[index] - 0.5; |
| | | this.R_Left[index] = (this.H[index] - 3 )/(1 + Math.Sin(this.GaMa_Left[index] * Math.PI / 180)); |
| | | } |
| | | if (this.R_Right[index] * (1 + Math.Sin(this.GaMa_Right[index] * Math.PI / 180)) > this.H[index]) |
| | | if (this.R_Right[index] * (1 + Math.Sin(this.GaMa_Right[index] * Math.PI / 180)) > this.H[index] - 3) |
| | | { |
| | | isChange = true; |
| | | this.R_Right[index] = this.R_Right[index] - 0.5; |
| | | this.R_Right[index] = (this.H[index] - 3) / (1 + Math.Sin(this.GaMa_Right[index] * Math.PI / 180)); |
| | | } |
| | | if (isChange) |
| | | continue; |