com.esri.arcgis.geometry
Interface IHitTest

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Envelope, IHitTestProxy, MultiPatch, Multipoint, Point, Polygon, Polyline

public interface IHitTest
extends java.io.Serializable

COM Interface 'IHitTest'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description: 'Provides access to members that locate a part of a geometry closest to a point.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID0eb12c6e_18f6_11d1_8337_0000f8775be9
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 boolean hitTest(IPoint queryPoint, double searchRadius, int geometryPart, IPoint hitPoint, double[] hitDistance, int[] hitPartIndex, int[] hitSegmentIndex, boolean[] bRightSide)
          Locates a part of a geometry closest to a query point.
 

Field Detail

IID0eb12c6e_18f6_11d1_8337_0000f8775be9

static final int IID0eb12c6e_18f6_11d1_8337_0000f8775be9
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

hitTest

boolean hitTest(IPoint queryPoint,
                double searchRadius,
                int geometryPart,
                IPoint hitPoint,
                double[] hitDistance,
                int[] hitPartIndex,
                int[] hitSegmentIndex,
                boolean[] bRightSide)
                throws java.io.IOException,
                       AutomationException
Locates a part of a geometry closest to a query point. Any located part must be within searchRadius units from the query point.

Parameters:
queryPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
searchRadius - The searchRadius (in)
geometryPart - A com.esri.arcgis.geometry.esriGeometryHitPartType constant (in)
hitPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
hitDistance - The hitDistance (in/out: use single element array)
hitPartIndex - The hitPartIndex (in/out: use single element array)
hitSegmentIndex - The hitSegmentIndex (in/out: use single element array)
bRightSide - The bRightSide (in/out: use single element array)
Returns:
The bHit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.