This document is archived and information here might be outdated. Recommended version. |
Locates a part of a geometry closest to a query point. Any located part must be within searchRadius units from the query point.
[Visual Basic .NET] Public Function HitTest3D ( _ ByVal QueryPoint As IPoint, _ ByVal searchRadius As Double, _ ByVal geometryPart As esriGeometryHitPartType, _ ByVal hitPoint As IPoint, _ ByRef hitDistance As Double, _ ByRef hitPartIndex As Integer, _ ByRef hitSegmentIndex As Integer _ ) As Boolean
[C#] public bool HitTest3D ( IPoint QueryPoint, double searchRadius, esriGeometryHitPartType geometryPart, IPoint hitPoint, ref double hitDistance, ref int hitPartIndex, ref int hitSegmentIndex );
[C++]
HRESULT HitTest3D(
IPoint* QueryPoint,
double searchRadius,
esriGeometryHitPartType geometryPart,
IPoint* hitPoint,
System.Double* hitDistance,
System.Int32* hitPartIndex,
System.Int32* hitSegmentIndex
);
[C++] Parameters QueryPoint
QueryPoint is a parameter of type IPoint* searchRadius
searchRadius is a parameter of type double geometryPart
geometryPart is a parameter of type esriGeometryHitPartType hitPoint
hitPoint is a parameter of type IPoint* hitDistance [in, out]
hitDistance is a parameter of type double* hitPartIndex [in, out]
hitPartIndex is a parameter of type long* hitSegmentIndex [in, out]
hitSegmentIndex is a parameter of type long*