This document is archived and information here might be outdated.  Recommended version.


IHitTest Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IHitTest Interface

Provides access to members that locate a part of a geometry closest to a point.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method HitTest Locates a part of a geometry closest to a query point. Any located part must be within searchRadius units from the query point.

CoClasses that implement IHitTest

CoClasses and Classes Description
Envelope A rectangle with sides parallel to a coordinate system defining the extent of another geometry; optionally has min and max measure, height and ID attributes.
MultiPatch A collection of surface patches.
Multipoint An ordered collection of points; optionally has measure, height and ID attributes.
Point A two dimensional point, optionally with measure, height, and ID attributes.
Polygon A collection of rings ordered by their containment relationship; optionally has measure, height and ID attributes.
Polyline An ordered collection of paths; optionally has measure, height and ID attributes.

.NET Samples

Custom vertex editing commands (Code Files: CustomVertexCommands)

.NET Related Topics

How to modify a specific segment of a polyline | How to modify a specific vertex of a polyline