public static double Distance(PolarPointRssi pt1, PolarPointRssi pt2) { return(Math.Sqrt(pt1.Distance * pt1.Distance + pt2.Distance * pt2.Distance - 2 * pt1.Distance * pt2.Distance * Math.Cos(pt1.Angle - pt2.Angle))); }
public PolarPointRssiExtended(PolarPointRssi pt, double width, Color c) { Pt = pt; Width = width; Color = c; }
static public PointD ConvertPolarToPointD(PolarPointRssi point) { return(new PointD(point.Distance * Math.Cos(point.Angle), point.Distance * Math.Sin(point.Angle))); }