Difference between revisions of "CSharp Find3DDist"

From scripting
Jump to: navigation, search
(Created page with " static double Find3DDist(double[] a, double[] b) { double ss = Math.Sqrt(Math.Pow((b[0]-a[0]),2) + Math.Pow((b[1]-a[1]),2) + Math.Pow((b[2]-a[2]...")
 
(No difference)

Latest revision as of 05:06, 22 April 2017

        static double Find3DDist(double[] a, double[] b)
        {
            double ss = Math.Sqrt(Math.Pow((b[0]-a[0]),2) + Math.Pow((b[1]-a[1]),2) + Math.Pow((b[2]-a[2]),2));
            return ss;
        }


Unrelated MEL scripting help located here: YSYT.