public void GetExteriorRings(Polygon inputPolygon)
{
if (inputPolygon == null || inputPolygon.IsEmpty)
return;
// polygon part count
int partCount = inputPolygon.PartCount;
// polygon exterior ring count
int numExtRings = inputPolygon.ExteriorRingCount;
// get set of exterior rings for the polygon
IList<Polygon> extRings = inputPolygon.GetExteriorRings();
// test each part for "exterior ring"
for (int idx = 0; idx < partCount; idx++)
{
bool isExteriorRing = inputPolygon.IsExteriorRing(idx);
}
}
ArcGIS Pro获得Polygon每一个部分
原创gisoracleplus ©著作权
文章标签 ArcGIS Pro 文章分类 Java 后端开发
下一篇:ArcGIS Pro空间查询
-
ArcGIS Pro二次开发-获得一个栅格
ArcGIS Pro二次开发-获得一个栅格
ArcGIS Pro -
获得ArcGIS Pro的版本
获得ArcGIS Pro的版本
ArcGIS Pro