|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.analyst3d.Hit3D
public class Hit3D
COM Class 'Hit3D'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esri3DAnalyst.olb'
Description 'A container for information regarding a hit in 3D picking.' 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 |
---|
Fields inherited from interface com.esri.arcgis.analyst3d.IHit3D |
---|
IID, IIDf7873924_9a19_11d4_b270_00508bcdde28, xxDummy |
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 |
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. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
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 |
release()
Release a Hit3D. |
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
java.io.IOException
- if there are interop problems
Hit3D theHit3D = (Hit3D) obj;
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setPointByRef(IPoint ppPoint) throws java.io.IOException, AutomationException
setPointByRef
in interface IHit3D
ppPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getPoint() throws java.io.IOException, AutomationException
getPoint
in interface IHit3D
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOwnerByRef(java.lang.Object ppOwner) throws java.io.IOException, AutomationException
setOwnerByRef
in interface IHit3D
ppOwner
- 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
getOwner
in interface IHit3D
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setObjectByRef(java.lang.Object ppObject) throws java.io.IOException, AutomationException
setObjectByRef
in interface IHit3D
ppObject
- 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 getObject() throws java.io.IOException, AutomationException
getObject
in interface IHit3D
java.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
setDistanceToObserver
in interface IHit3D
pDistanceToObs
- 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
getDistanceToObserver
in interface IHit3D
java.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
setDistanceToRay
in interface IHit3D
pDistanceToRay
- 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
getDistanceToRay
in interface IHit3D
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDepthRange(double dMin, double dMax) throws java.io.IOException, AutomationException
setDepthRange
in interface IHit3D
dMin
- 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
getDepthRange
in interface IHit3D
pDMin
- 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
setExactHit
in interface IHit3D
hit
- 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
isExactHit
in interface IHit3D
java.io.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 |