|
||||||||||
| 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.ISphereProxy
Provides access to a sphere's properties and operations.
| 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 | |
|
ISphereProxy()
For internal use only |
|
ISphereProxy(java.lang.Object obj)
|
protected |
ISphereProxy(java.lang.Object obj,
java.lang.String iid)
|
|
ISphereProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
ISphereProxy(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. |
IPoint |
getCenter()
The center of the sphere. |
double |
getRadius()
The radius of the sphere. |
void |
queryCenter(IPoint centerPoint)
Sets an existing point equal to the center of the sphere. |
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 |
setCenter(IPoint centerPoint)
The center of the sphere. |
void |
setRadius(double radiusLength)
The radius of the sphere. |
| 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 ISphereProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public ISphereProxy()
public ISphereProxy(java.lang.Object obj)
throws java.io.IOException
protected ISphereProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected ISphereProxy(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 queryCenter(IPoint centerPoint)
throws java.io.IOException,
AutomationException
ISphereReturns the Point corresponding to the Center of the Sphere.
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.

queryCenter in interface ISpherecenterPoint - 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 getCenter()
throws java.io.IOException,
AutomationException
ISphereReturns or sets the Center Point of the Sphere. This Point MUST have X, Y, and Z values defined to be a valid Center.

getCenter in interface ISpherejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCenter(IPoint centerPoint)
throws java.io.IOException,
AutomationException
ISphere
setCenter in interface ISpherecenterPoint - 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 double getRadius()
throws java.io.IOException,
AutomationException
ISphereReturns or sets the Radius of the Sphere. The radius is the distance from the Center of the Sphere to all points on the surface of the Sphere.

getRadius in interface ISphereAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setRadius(double radiusLength)
throws java.io.IOException,
AutomationException
ISphere
setRadius in interface ISphereradiusLength - The radiusLength (in)
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 | |||||||||