ArcGIS Enterprise SDK
IHitTest3D.HitTestCone Method
ArcGIS Developer Help

IHitTest3D.HitTestCone Method

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
);

See Also

IHitTest3D Interface