iobjectsdotnet-10.1.0 win10 *64
Point3D refer1 = Scene.SphericalToCartesian(new Point3D(110, 30, 5));
Point3D refer2 = Scene.SphericalToCartesian(new Point3D(111, 30, 5));
GeoStyle3D geoStyle3DLine = new GeoStyle3D();
geoStyle3DLine.LineWidth = 1;
geoStyle3DLine.LineColor = Color.Red;
//geoStyle3DLine.LineSymbolID = 965564;
geoStyle3DLine.AltitudeMode = SuperMap.Data.AltitudeMode.Absolute;
Point3Ds points = new Point3Ds();
points.Add(refer1);
points.Add(refer2);
GeoLine3D geoLine3D = new GeoLine3D(points);
geoLine3D.Style3D = geoStyle3DLine;
bool aaa = recordset.AddNew(geoLine3D);
geoLine3D.Dispose();
用两个地理坐标点 绘制一条线 添加到DatasetType.Line3D类型的数据集中 数据集有一条记录 但是无法高亮选中对象
在三维球上出不来 二维的能出来 为什么呢
有添加线对象到数据集的相关示例代码参考吗