public class Sphere extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ISphere, IGeometry, IClone, ISupportErrorInfo
Description 'A complete sphere.' 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 =
IID, IID0cd38cb9_1c89_11d4_9f5c_00c04f6bdf0d, xxDummyIID1b07790d_38c5_11d0_92d2_00805f7c28b0IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummyIID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy| Constructor and Description |
|---|
Sphere()
Constructs a Sphere using ArcGIS Engine.
|
Sphere(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
Sphere theSphere = (Sphere) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
void |
geoNormalize()
Shifts longitudes, if need be, into a continuous range of 360 degrees.
|
void |
geoNormalizeFromLongitude(double longitude)
Normalizes longitudes into a continuous range containing the longitude.
|
IPoint |
getCenter()
The center of the sphere.
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getDimension()
The topological dimension of this geometry.
|
IEnvelope |
getEnvelope()
Creates a copy of this geometry's envelope and returns it.
|
int |
getGeometryType()
The type of this geometry.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
double |
getRadius()
The radius of the sphere.
|
ISpatialReference |
getSpatialReference()
The spatial reference associated with this geometry.
|
int |
hashCode()
the hashcode for this object
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
boolean |
isEmpty()
Indicates whether this geometry contains any points.
|
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties.
|
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object.
|
void |
project(ISpatialReference newReferenceSystem)
Projects this geometry into a new spatial reference.
|
void |
queryCenter(IPoint centerPoint)
Sets an existing point equal to the center of the sphere.
|
void |
queryEnvelope(IEnvelope outEnvelope)
Copies this geometry's envelope properties into the specified envelope.
|
void |
release()
Release this COM object reference
|
void |
setCenter(IPoint centerPoint)
The center of the sphere.
|
void |
setEmpty()
Removes all points from this geometry.
|
void |
setRadius(double radiusLength)
The radius of the sphere.
|
void |
setSpatialReferenceByRef(ISpatialReference spatialRef)
The spatial reference associated with this geometry.
|
void |
snapToSpatialReference()
Moves points of this geometry so that they can be represented in the precision of the geometry's associated spatial reference system.
|
public Sphere()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic Sphere(java.lang.Object obj)
throws java.io.IOException
Sphere theSphere = (Sphere) obj;obj to Sphere.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic void queryCenter(IPoint centerPoint) throws java.io.IOException, AutomationException
queryCenter 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 IPoint getCenter() throws java.io.IOException, AutomationException
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
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
getRadius in interface ISpherejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setRadius(double radiusLength)
throws java.io.IOException,
AutomationException
setRadius in interface ISphereradiusLength - The radiusLength (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getGeometryType()
throws java.io.IOException,
AutomationException
getGeometryType in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getDimension()
throws java.io.IOException,
AutomationException
getDimension in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws java.io.IOException, AutomationException
getSpatialReference in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSpatialReferenceByRef(ISpatialReference spatialRef) throws java.io.IOException, AutomationException
setSpatialReferenceByRef in interface IGeometryspatialRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isEmpty()
throws java.io.IOException,
AutomationException
isEmpty in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setEmpty()
throws java.io.IOException,
AutomationException
setEmpty in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryEnvelope(IEnvelope outEnvelope) throws java.io.IOException, AutomationException
queryEnvelope in interface IGeometryoutEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnvelope getEnvelope() throws java.io.IOException, AutomationException
getEnvelope in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void project(ISpatialReference newReferenceSystem) throws java.io.IOException, AutomationException
project in interface IGeometrynewReferenceSystem - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void snapToSpatialReference()
throws java.io.IOException,
AutomationException
snapToSpatialReference in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void geoNormalize()
throws java.io.IOException,
AutomationException
geoNormalize in interface IGeometryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void geoNormalizeFromLongitude(double longitude)
throws java.io.IOException,
AutomationException
geoNormalizeFromLongitude in interface IGeometrylongitude - The longitude (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone in interface IClonejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.