|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.analyst3d.IHit3DProxy
public class IHit3DProxy
Provides access to members that control information about a hit in 3D picking.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IHit3DProxy()
|
|
IHit3DProxy(Object obj)
|
protected |
IHit3DProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
getDepthRange(double[] pDMin,
double[] pDMax)
Returns the depth range of the hit as reported by OpenGL. |
double |
getDistanceToObserver()
The 3D distance from the observer to the hit point. |
double |
getDistanceToRay()
The 3D distance between the hit point and the picking ray. |
Object |
getObject()
The object (feature) that is hit. |
Object |
getOwner()
The owner (layer) that is hit. |
IPoint |
getPoint()
The location of the hit. |
boolean |
isExactHit()
Indicates whether an exact hit. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setDepthRange(double dMin,
double dMax)
Sets the depth range of the hit as reported by OpenGL. |
void |
setDistanceToObserver(double pDistanceToObs)
The 3D distance from the observer to the hit point. |
void |
setDistanceToRay(double pDistanceToRay)
The 3D distance between the hit point and the picking ray. |
void |
setExactHit(boolean hit)
Indicates whether an exact hit. |
void |
setObjectByRef(Object ppObject)
The object (feature) that is hit. |
void |
setOwnerByRef(Object ppOwner)
The owner (layer) that is hit. |
void |
setPointByRef(IPoint ppPoint)
The location of the hit. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IHit3DProxy()
public IHit3DProxy(Object obj) throws IOException
IOException
protected IHit3DProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void setPointByRef(IPoint ppPoint) throws IOException, AutomationException
setPointByRef
in interface IHit3D
ppPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getPoint() throws IOException, AutomationException
getPoint
in interface IHit3D
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOwnerByRef(Object ppOwner) throws IOException, AutomationException
setOwnerByRef
in interface IHit3D
ppOwner
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getOwner() throws IOException, AutomationException
getOwner
in interface IHit3D
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setObjectByRef(Object ppObject) throws IOException, AutomationException
setObjectByRef
in interface IHit3D
ppObject
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getObject() throws IOException, AutomationException
getObject
in interface IHit3D
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDistanceToObserver(double pDistanceToObs) throws IOException, AutomationException
setDistanceToObserver
in interface IHit3D
pDistanceToObs
- The pDistanceToObs (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDistanceToObserver() throws IOException, AutomationException
getDistanceToObserver
in interface IHit3D
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDistanceToRay(double pDistanceToRay) throws IOException, AutomationException
setDistanceToRay
in interface IHit3D
pDistanceToRay
- The pDistanceToRay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDistanceToRay() throws IOException, AutomationException
getDistanceToRay
in interface IHit3D
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDepthRange(double dMin, double dMax) throws IOException, AutomationException
setDepthRange
in interface IHit3D
dMin
- The dMin (in)dMax
- The dMax (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getDepthRange(double[] pDMin, double[] pDMax) throws IOException, AutomationException
getDepthRange
in interface IHit3D
pDMin
- The pDMin (out: use single element array)pDMax
- The pDMax (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExactHit(boolean hit) throws IOException, AutomationException
setExactHit
in interface IHit3D
hit
- The hit (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isExactHit() throws IOException, AutomationException
isExactHit
in interface IHit3D
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |