|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISphere
Provides access to a sphere's properties and operations.
Method Summary | |
---|---|
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 |
setCenter(IPoint centerPoint)
The center of the sphere. |
void |
setRadius(double radiusLength)
The radius of the sphere. |
Methods inherited from interface com.esri.arcgis.geometry.IGeometry |
---|
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference |
Method Detail |
---|
void queryCenter(IPoint centerPoint) throws IOException, AutomationException
Returns 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.
centerPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPoint getCenter() throws IOException, AutomationException
Returns or sets the Center Point of the Sphere. This Point MUST have X, Y, and Z values defined to be a valid Center.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCenter(IPoint centerPoint) throws IOException, AutomationException
centerPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getRadius() throws IOException, AutomationException
Returns 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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRadius(double radiusLength) throws IOException, AutomationException
radiusLength
- The radiusLength (in)
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 |