You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Compute the signed distance from this `line` to the given point `p`. If the sign of the distance is positive, the normal vector from the line is in the same side to the point.
334
+
/// </summary>
335
+
/// <param name="p"></param>
336
+
/// <returns></returns>
337
+
publicdoubleSignedDistanceTo(Point2Dp)
338
+
{
339
+
varresult=A*p.X+B*p.Y+C;
340
+
returnresult;
341
+
}
342
+
343
+
/// <summary>
344
+
/// Compute the absolute distance from this `line` to the given point `p`.
0 commit comments