ArcGIS接口总结(7)

2019-03-15 21:00

ITopologicalOperator接口的第五个方法Clip (clipperEnvelope ) (方法,输入一个IEnvelope类型的变量,来获取被这个边框剪切的要素,并将切割后的变量返回给调用方法的变量)

ITopologicalOperator接口的第六个方法QueryClipped (clipperEnvelope, clippedGeometry ) (方法,与Clip类似,但是第二个参数为剪切后返回输出的参数,本身不会改变)

ITopologicalOperator接口的第七个方法ConvexHull(方法,构造一个Geometry,大部分为Polygon类型的几何要素,该要素为调用此方法的ITopologicalOperator类型的变量最小的外边框)

ITopologicalOperator接口的第八个方法SymmetricDifference (other ) (方法,并集减去交集的部分,调用次方法的变量为第一个参数,other为第二个参数,最后返回变量到一个Geometry类型的变量,该变量的范围均在两个参数范围内,但不在两个参数相交的部分)。

26. IHitTest(esriGeometry)

这个接口只有一个HitTest方法,public bool HitTest ( IPoint QueryPoint,double searchRadius, esriGeometryHitPartType geometryPart,IPoint hitPoint, ref double hitDistance, ref int hitPartIndex, ref int hitSegmentIndex, ref bool bRightSide)

用来访问指定的几何体的最接近点击位置的一部分pHitTest = (IHitTest)pGeom; esriGeometryHitPartType 是用来确定该部分是节点还是其他点

Constant esriGeometryPartNone esriGeometryPartVertex Value 0 1 Description Not used. Locates a vertex of the geometry closest to the query point. esriGeometryPartBoundary 4 Locates a point anywhere on the boundary of a polygon, or anywhere on a polyline, that is closest to the query point. esriGeometryPartMidpoint 8 Locates a midpoint of a segment belonging to a polygon or polyline that is closest to the query point. esriGeometryPartCentroid 32 Locates the geometric centroid of a polygon or the center of an envelope closest to the query point. esriGeometryPartEndpoint 16 Locates an endpoint of the polyline closest to the query point.


ArcGIS接口总结(7).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:药品经营企业GSP试题库(2)-单选题

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: