Exemplo n.º 1
0
        public void Update(SimpleLineMark simpleLineMark, SimpleLineMark referenceLineMark)
        {
            double reducedCenter = simpleLineMark.LineCenter - referenceLineMark.LineCenter;

            ScaleType = simpleLineMark.LineType;
            stpCenter.Update(reducedCenter);
            stpWidth.Update(simpleLineMark.LineWidth);
        }
Exemplo n.º 2
0
 public void Update(double x, double y)
 {
     if (double.IsNaN(x) || double.IsNaN(y))
     {
         return; // forces all three pods are of equal sample size
     }
     xPod.Update(x);
     yPod.Update(y);
     zPod.Update(x + y);
 }