无意间查了一下Vector3的API,发现了一个方法。
magnitude Returen the length of vector(Read Only).
然后就试了一下这个方法。
Vector3 P1 = new Vector3(1,1,1);
Vector3 P2 = new Vector3(2,2,2);
prin...
DECLARE @BJ GEOGRAPHY DECLARE @XT GEOGRAPHY
/* GET Latitude/Longitude FROM here:http://www.travelmath.com/cities/Beijing,+China the distance unit in SRI...