CSharp examples for System:Math Geometry
Euclidian Distance
using System.Threading.Tasks; using System.Text; using System.Linq; using System.Collections.Generic; using System;/*w ww .j a va2 s .c o m*/ public class Main{ public static double EuclidianDistance(double one, double two, double max) { return 1 - (Math.Abs(one - two)) / max; } }