|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.geometry.IGeometryProxy
com.esri.arcgis.geometry.IRayProxy
Provides access to 3D Ray properties and methods. A ray has one endpoint (its origin) and continues infinitely in one direction.
| Field Summary | |
static java.lang.Class |
targetClass
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF |
| Constructor Summary | |
|
IRayProxy()
For internal use only |
|
IRayProxy(java.lang.Object obj)
|
protected |
IRayProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IRayProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IRayProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
|
| Method Summary | |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object. |
IEnumIntersection |
getEnumIntersect(IGeometry targetGeometry)
Not implemented at this release. |
IPoint |
getOrigin()
The origin point of the ray. |
IPoint |
getPointAtDistance(double distance)
Constructs a point at a distance along the ray. |
IVector3D |
getVector()
The direction vector of the ray. |
void |
intersect(IGeometry targetGeometry,
IPointCollection intersectionPoints)
Returns a point collection containing all points of intersection, in order along the ray. |
boolean |
intersects(IGeometry targetGeometry)
Indicates if the ray intersects the target geometry. |
void |
queryFirstIntersection(IGeometry targetGeometry,
IPoint intersectionPoint)
Returns the first point of intersection between the ray and the target geometry. |
void |
queryOrigin(IPoint vectorOrigin)
Sets a point equal to the ray's origin. |
void |
queryPointAtDistance(double distance,
IPoint point)
Queries a point at a distance along the ray. |
void |
queryVector(IVector3D directionVector)
Sets a vector equal to a unit vector with the same direction as the ray. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
void |
setOrigin(IPoint vectorOrigin)
The origin point of the ray. |
void |
setVector(IVector3D directionVector)
The direction vector of the ray. |
| Methods inherited from class com.esri.arcgis.geometry.IGeometryProxy |
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.geometry.IGeometry |
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference |
| Field Detail |
public static final java.lang.Class targetClass
| Constructor Detail |
public IRayProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IRayProxy()
public IRayProxy(java.lang.Object obj)
throws java.io.IOException
protected IRayProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IRayProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class IGeometryProxyjava.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class IGeometryProxyjava.io.IOException
public void queryOrigin(IPoint vectorOrigin)
throws java.io.IOException,
AutomationException
IRayReturns the Origin of the Ray into the input Point.
Note: The output geometry must be co-created prior to the query. The output geometry is not co-created by the method; it is populated. This can be used in performance critical situations. For example, creating the geometry only once outside a loop and use the query method could improve performance.

queryOrigin in interface IRayvectorOrigin - 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 getOrigin()
throws java.io.IOException,
AutomationException
IRayReturns and sets the Origin of the Ray. The Origin is the starting Point from which the Ray infinitely extends in the direction of its vector.

getOrigin in interface IRayjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOrigin(IPoint vectorOrigin)
throws java.io.IOException,
AutomationException
IRay
setOrigin in interface IRayvectorOrigin - 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 void queryVector(IVector3D directionVector)
throws java.io.IOException,
AutomationException
IRayReturns the Vector3D of the Ray. The Vector3D determines the direction the Ray extends from its Origin. The Vector of a Ray is always Normalized to a unit vector.

queryVector in interface IRaydirectionVector - A reference to a com.esri.arcgis.geometry.IVector3D (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IVector3D getVector()
throws java.io.IOException,
AutomationException
IRayReturns and sets the Vector3D of the Ray. The Vector3D determines the direction the Ray extends from its Origin. The Vector of a Ray is always Normalized to a unit vector.

getVector in interface IRayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setVector(IVector3D directionVector)
throws java.io.IOException,
AutomationException
IRay
setVector in interface IRaydirectionVector - A reference to a com.esri.arcgis.geometry.IVector3D (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryPointAtDistance(double distance,
IPoint point)
throws java.io.IOException,
AutomationException
IRay
queryPointAtDistance in interface IRaydistance - The distance (in)point - 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 getPointAtDistance(double distance)
throws java.io.IOException,
AutomationException
IRay
getPointAtDistance in interface IRaydistance - The distance (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean intersects(IGeometry targetGeometry)
throws java.io.IOException,
AutomationException
IRay
intersects in interface IRaytargetGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryFirstIntersection(IGeometry targetGeometry,
IPoint intersectionPoint)
throws java.io.IOException,
AutomationException
IRay
queryFirstIntersection in interface IRaytargetGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)intersectionPoint - 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 void intersect(IGeometry targetGeometry,
IPointCollection intersectionPoints)
throws java.io.IOException,
AutomationException
IRay
intersect in interface IRaytargetGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)intersectionPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumIntersection getEnumIntersect(IGeometry targetGeometry)
throws java.io.IOException,
AutomationException
IRay
getEnumIntersect in interface IRaytargetGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
AutomationException - 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 | |||||||||