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.