개정판 30a9ffce
dev issue #000 : edit Branch Line
Change-Id: I0be410caa0946918d4deec087517d3bbf437ab27
DTI_PID/SPPIDConverter/Util/SPPIDUtil.cs | ||
---|---|---|
198 | 198 |
return new double[] { -(b1 - b2) / (a1 - a2), a1 * (-(b1 - b2) / (a1 - a2) + b1) }; |
199 | 199 |
} |
200 | 200 |
} |
201 |
public static double CalcPointToPointdDistance(double x1, double y1, double x2, double y2) |
|
202 |
{ |
|
203 |
return Math.Pow(Math.Pow(x1 - x2, 2) + Math.Pow(y1 - y2, 2), 0.5); |
|
204 |
} |
|
205 |
|
|
201 | 206 |
#region |
202 | 207 |
public static bool IsBranchLine(string UID, Line connectedLine) |
203 | 208 |
{ |
내보내기 Unified diff