/// <summary>
/// 通过Ring创建多边形
/// </summary>
/// <param name="pGeometry"></param>
/// <returns></returns>
public static IPolygon CreatePolygonByRing(IGeometry pGeometry)
{
try
{
IGeometryCollection pGeometryCollection = new PolygonClass();
pGeometryCollection.AddGeometry(pGeometry);
IPolygon pPolygon = pGeometryCollection as IPolygon;
return pPolygon;
}
catch(Exception ex)
{
LogServices.WriteExceptionLog(ex, "CreatePolygonByRing");
}
return null;
}
通过Ring创建多边形
最新推荐文章于 2024-07-18 18:14:19 发布
272

被折叠的 条评论
为什么被折叠?



