개정판 1299077b
dev issue #1191 : Text, Note 좌표 보정
Change-Id: I5602e50fc2afdbeb337bceb4eb2e08705b922d6e
DTI_PID/SPPIDConverter/Util/SPPIDUtil.cs | ||
---|---|---|
529 | 529 |
} |
530 | 530 |
} |
531 | 531 |
|
532 |
public static bool IsOverlap(double[] range1, double[] range2) |
|
533 |
{ |
|
534 |
if (range1[0] <= range2[2] && range1[2] >= range2[0] && range1[1] <= range2[3] && range1[3] >= range2[1]) |
|
535 |
return true; |
|
536 |
else |
|
537 |
return false; |
|
538 |
} |
|
539 |
|
|
532 | 540 |
public static void CalcNewCoordinateForSymbol(Symbol symbol, Symbol prevSymbol, double distanceX, double distanceY) |
533 | 541 |
{ |
534 | 542 |
SlopeType slopeType = SPPIDUtil.CalcSlope(prevSymbol.SPPID.ORIGINAL_X, prevSymbol.SPPID.ORIGINAL_Y, symbol.SPPID.ORIGINAL_X, symbol.SPPID.ORIGINAL_Y); |
내보내기 Unified diff