개정판 51ae61b9
dev issue #000 : fix bug
Change-Id: I0fbfda81ee393a9e70ea82114c1519449e4fbca0
DTI_PID/SPPIDConverter/AutoModeling.cs | ||
---|---|---|
986 | 986 |
{ |
987 | 987 |
Line nextLine = linePointInfo[i + 1].Item2; |
988 | 988 |
SlopeType nextSlopeType = SPPIDUtil.CalcSlope(nextLine.SPPID.START_X, nextLine.SPPID.START_Y, nextLine.SPPID.END_X, nextLine.SPPID.END_Y); |
989 |
if (prevSlopeType == SlopeType.HORIZONTAL)
|
|
989 |
if (slopeType == SlopeType.HORIZONTAL)
|
|
990 | 990 |
y = linePointInfo[i + 1].Item5; |
991 |
else if (prevSlopeType == SlopeType.VERTICAL)
|
|
991 |
else if (slopeType == SlopeType.VERTICAL)
|
|
992 | 992 |
x = linePointInfo[i + 1].Item4; |
993 | 993 |
} |
994 | 994 |
} |
내보내기 Unified diff