使用函数 CacheProcessor3D.GeometryMatch,但是高程提取出来是 0。
代码片段如下:
string scpPath =“D:\\Data\\123.scp”;
List<Geometry> p2ds = new List<Geometry>();
p2ds.Add((new GeoPoint(e.X, e.Y)));
GeoPoint3D p3d = CacheProcessor3D.GeometryMatch(scpPath, p2ds, 0.01)[0] as GeoPoint3D;