예제 #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);
        }
예제 #2
0
 public GeoPath(GeoPath other)
     : base(other)
 {
 }