コード例 #1
0
ファイル: Path.cs プロジェクト: jesconsa/Telerik-Academy
        public Path Remove(Point3D point)
        {
            this.points.Remove(point);

            return this;
        }
コード例 #2
0
ファイル: Distance.cs プロジェクト: jesconsa/Telerik-Academy
 public static double Calculate(Point3D a, Point3D b)
 {
     return Math.Sqrt(Math.Pow(a.X - b.X, 2) + Math.Pow(a.Y - b.Y, 2) + Math.Pow(a.Z - b.Z, 2));
 }