|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.analyst3d.Hit3D
A container for information regarding a hit in 3D picking.
| Constructor Summary | |
Hit3D(java.lang.Object obj)
Construct a Hit3D using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IHit3D |
getAsIHit3D()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
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. |
java.lang.Object |
getObject()
The object (feature) that is hit. |
java.lang.Object |
getOwner()
The owner (layer) that is hit. |
IPoint |
getPoint()
The location of the hit. |
int |
hashCode()
the hashcode for this object |
boolean |
isExactHit()
Indicates whether an exact hit. |
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(java.lang.Object ppObject)
The object (feature) that is hit. |
void |
setOwnerByRef(java.lang.Object ppOwner)
The owner (layer) that is hit. |
void |
setPointByRef(IPoint ppPoint)
The location of the hit. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Hit3D(java.lang.Object obj)
throws java.io.IOException
obj to Hit3D. *
Hit3D o = (Hit3D)obj; // will not work
Hit3D o = new Hit3D(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
Hit3D theHit3D = (Hit3D) obj;
java.io.IOException - if there are interop problems| Method Detail |
public IHit3D getAsIHit3D()
public boolean equals(java.lang.Object o)
public int hashCode()
public void setPointByRef(IPoint ppPoint)
throws java.io.IOException,
AutomationException
IHit3D
setPointByRef in interface IHit3DppPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IPoint getPoint()
throws java.io.IOException,
AutomationException
IHit3D
getPoint in interface IHit3DAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setOwnerByRef(java.lang.Object ppOwner)
throws java.io.IOException,
AutomationException
IHit3D
setOwnerByRef in interface IHit3DppOwner - A reference to another Object (IUnknown) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getOwner()
throws java.io.IOException,
AutomationException
IHit3D
getOwner in interface IHit3DAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setObjectByRef(java.lang.Object ppObject)
throws java.io.IOException,
AutomationException
IHit3D
setObjectByRef in interface IHit3DppObject - A reference to another Object (IUnknown) (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.Object getObject()
throws java.io.IOException,
AutomationException
IHit3D
getObject in interface IHit3Djava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDistanceToObserver(double pDistanceToObs)
throws java.io.IOException,
AutomationException
IHit3D
setDistanceToObserver in interface IHit3DpDistanceToObs - The pDistanceToObs (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDistanceToObserver()
throws java.io.IOException,
AutomationException
IHit3D
getDistanceToObserver in interface IHit3Djava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDistanceToRay(double pDistanceToRay)
throws java.io.IOException,
AutomationException
IHit3D
setDistanceToRay in interface IHit3DpDistanceToRay - The pDistanceToRay (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDistanceToRay()
throws java.io.IOException,
AutomationException
IHit3D
getDistanceToRay in interface IHit3DAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setDepthRange(double dMin,
double dMax)
throws java.io.IOException,
AutomationException
IHit3D
setDepthRange in interface IHit3DdMin - The dMin (in)dMax - The dMax (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getDepthRange(double[] pDMin,
double[] pDMax)
throws java.io.IOException,
AutomationException
IHit3D
getDepthRange in interface IHit3DpDMin - The pDMin (out: use single element array)pDMax - The pDMax (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExactHit(boolean hit)
throws java.io.IOException,
AutomationException
IHit3D
setExactHit in interface IHit3Dhit - The hit (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isExactHit()
throws java.io.IOException,
AutomationException
IHit3D
isExactHit in interface IHit3DAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||