This document is archived and information here might be outdated. Recommended version. |
Locates a part of a geometry closest to a query ray.
[Visual Basic .NET] Public Function HitTestCone ( _ ByVal pQueryRay As IRay, _ ByVal minAngle As Double, _ ByVal geometryPart As esriGeometryHitPartType, _ ByVal pHitPoint As IPoint, _ ByRef pHitDistance As Double, _ ByRef pHitPartIndex As Integer, _ ByRef pHitSegmentIndex As Integer _ ) As Boolean
[C#] public bool HitTestCone ( IRay pQueryRay, double minAngle, esriGeometryHitPartType geometryPart, IPoint pHitPoint, ref double pHitDistance, ref int pHitPartIndex, ref int pHitSegmentIndex );
[C++]
HRESULT HitTestCone(
IRay* pQueryRay,
double minAngle,
esriGeometryHitPartType geometryPart,
IPoint* pHitPoint,
System.Double* pHitDistance,
System.Int32* pHitPartIndex,
System.Int32* pHitSegmentIndex
);
[C++]
Parameters pQueryRay
pQueryRay is a parameter of type IRay* minAngle
minAngle is a parameter of type double geometryPart
geometryPart is a parameter of type esriGeometryHitPartType pHitPoint
pHitPoint is a parameter of type IPoint* pHitDistance [in, out]
pHitDistance is a parameter of type double* pHitPartIndex [in, out]
pHitPartIndex is a parameter of type long* pHitSegmentIndex [in, out]
pHitSegmentIndex is a parameter of type long*