개정판 30a774f6
dev issue #000 : add angle
Change-Id: Ibeda3f486776479ddba0e8bb9be01aa95ca3ad89
DTI_PID/SPPIDConverter/ConverterDocking.cs | ||
---|---|---|
844 | 844 |
degree = 0; |
845 | 845 |
else if (angle > -1.58 && angle < -1.56) |
846 | 846 |
degree = 270; |
847 |
else if (angle > -3.15 && angle < -3.13) |
|
848 |
degree = 180; |
|
847 | 849 |
else |
848 |
throw new Exception("Error");
|
|
850 |
throw new Exception("Check Angle");
|
|
849 | 851 |
|
850 | 852 |
|
851 | 853 |
double originX, originY; |
... | ... | |
949 | 951 |
private void SpecBreakRelocation(double degree, double crossX, double crossY, double topX, double topY, DependencyObject dependency1, DependencyObject dependency2, DependencyObject dependency3) |
950 | 952 |
{ |
951 | 953 |
double d1X1, d1Y1, d1X2, d1Y2, d2X1, d2Y1, d2X2, d2Y2; |
952 |
|
|
954 |
|
|
953 | 955 |
Ingr.RAD2D.TextBox textBox1 = FindTextBoxArea(dependency1, out d1X1, out d1Y1, out d1X2, out d1Y2); |
954 | 956 |
Ingr.RAD2D.TextBox textBox2 = FindTextBoxArea(dependency2, out d2X1, out d2Y1, out d2X2, out d2Y2); |
955 | 957 |
|
내보내기 Unified diff