Provides access to members that locate a part of a geometry closest to a point.
Members
| Name | Description | |
|---|---|---|
![]() |
HitTest3D | Locates a part of a geometry closest to a query point. Any located part must be within searchRadius units from the query point. |
![]() |
HitTestCone | Locates a part of a geometry closest to a query ray. |
IHitTest3D.HitTest3D Method
Locates a part of a geometry closest to a query point. Any located part must be within searchRadius units from the query point.
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
public bool HitTest3D (
    IPoint QueryPoint,
    double searchRadius,
    esriGeometryHitPartType geometryPart,
    IPoint hitPoint,
    ref double hitDistance,
    ref int hitPartIndex,
    ref int hitSegmentIndex
);
IHitTest3D.HitTestCone Method
Locates a part of a geometry closest to a query ray.
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
public bool HitTestCone (
    IRay pQueryRay,
    double minAngle,
    esriGeometryHitPartType geometryPart,
    IPoint pHitPoint,
    ref double pHitDistance,
    ref int pHitPartIndex,
    ref int pHitSegmentIndex
);
Classes that implement IHitTest3D
| 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. |
