Beispiel #1
0
        public Double GetDistanceBetweenTwoPoints(GeoPoint p1, GeoPoint p2)
        {
            GeoSpanningTree spanningTree = new GeoSpanningTree(this);

            spanningTree.Origin      = p1;
            spanningTree.Destination = p2;
            GeoPath path = spanningTree.ComputePath();

            return(path.Length);
        }
Beispiel #2
0
 public GeoPath(GeoPath other)
     : base(other)
 {
 }