怎样获取多段线的点坐标并保存在数组里
http://through-the-interface.typepad.com/through_the_interface/2007/04/iterating_throu.html
另外,多段线有个coordinations属性查找一下 vectra 发表于 2015-5-9 14:46 static/image/common/back.gif
http://through-the-interface.typepad.com/through_the_interface/2007/04/iterating_throu.html
另外, ...
网页不能看呀,怎么回事? vectra 发表于 2015-5-9 14:46 static/image/common/back.gif
http://through-the-interface.typepad.com/through_the_interface/2007/04/iterating_throu.html
另外, ...
学习了,谢谢 请问怎么设置最佳答案呀 /// <summary>
/// 获取多段线的顶点
/// </summary>
/// <param name="pline">多段线对象</param>
public static Point3dCollection GetPolyPoints(this Polyline pline)
{
Point3dCollection pts = new Point3dCollection();
int i;
for (i = 0; i < pline.NumberOfVertices; i++)
{
Point3d pt = pline.GetPoint3dAt(i);
pts.Add(pt);
}
return pts;
} j15tty 发表于 2015-5-11 12:09 static/image/common/back.gif
谢谢霍,知道了
页:
[1]