com.esri.arcgis.geoprocessing
Class IGpDescribeGeometryProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geoprocessing.IGpDescribeGeometryProxy
All Implemented Interfaces:
IGpDescribeGeometry, Externalizable, Serializable

public class IGpDescribeGeometryProxy
extends com.esri.arcgis.interop.Dispatch
implements IGpDescribeGeometry, Serializable

Provides access to the properties and methods of the Describe Geometry object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IGpDescribeGeometryProxy()
           
  IGpDescribeGeometryProxy(Object obj)
           
protected IGpDescribeGeometryProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 double getArea()
          The area of the geometry object.
 String getCentroid(Object pInside)
          The centroid of the geometry object; returns label point if centroid is outside.
 String getExtent()
          The extent of the geometry object.
 String getFirstPoint()
          The first point of the geometry object.
 IGeometry getGeometry()
          Sets the geometry property.
 String getHullRectangle()
          The four corners of the most narrow enclosing rectangle.
 String getIsMultipart()
          Indicates whether the geometry object contains more than one part.
 String getLabelPoint()
          The (inside) label point of the geometry object.
 String getLastPoint()
          The last point of the geometry object.
 double getLength()
          The length of the geometry object.
 Object getPart(Object part)
          Returns the part of the geometry object at the specified index.
 int getPartCount()
          The number of parts of the geometry object.
 int getPointCount()
          The number of points of the geometry object.
 String getTrueCentroid()
          The true centroid of the geometry object.
 String getType()
          The geometry type of the geometry object.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IGpDescribeGeometryProxy

public IGpDescribeGeometryProxy()

IGpDescribeGeometryProxy

public IGpDescribeGeometryProxy(Object obj)
                         throws IOException
Throws:
IOException

IGpDescribeGeometryProxy

protected IGpDescribeGeometryProxy(Object obj,
                                   String iid)
                            throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getType

public String getType()
               throws IOException,
                      AutomationException
The geometry type of the geometry object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getType in interface IGpDescribeGeometry
Returns:
The type
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public String getExtent()
                 throws IOException,
                        AutomationException
The extent of the geometry object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getExtent in interface IGpDescribeGeometry
Returns:
The extent
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCentroid

public String getCentroid(Object pInside)
                   throws IOException,
                          AutomationException
The centroid of the geometry object; returns label point if centroid is outside.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getCentroid in interface IGpDescribeGeometry
Parameters:
pInside - A Variant (in, optional, pass null if not required)
Returns:
The centroid
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTrueCentroid

public String getTrueCentroid()
                       throws IOException,
                              AutomationException
The true centroid of the geometry object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getTrueCentroid in interface IGpDescribeGeometry
Returns:
The centroid
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLabelPoint

public String getLabelPoint()
                     throws IOException,
                            AutomationException
The (inside) label point of the geometry object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getLabelPoint in interface IGpDescribeGeometry
Returns:
The labelPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFirstPoint

public String getFirstPoint()
                     throws IOException,
                            AutomationException
The first point of the geometry object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getFirstPoint in interface IGpDescribeGeometry
Returns:
The firstPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLastPoint

public String getLastPoint()
                    throws IOException,
                           AutomationException
The last point of the geometry object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getLastPoint in interface IGpDescribeGeometry
Returns:
The lastPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getArea

public double getArea()
               throws IOException,
                      AutomationException
The area of the geometry object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getArea in interface IGpDescribeGeometry
Returns:
The area
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLength

public double getLength()
                 throws IOException,
                        AutomationException
The length of the geometry object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getLength in interface IGpDescribeGeometry
Returns:
The length
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIsMultipart

public String getIsMultipart()
                      throws IOException,
                             AutomationException
Indicates whether the geometry object contains more than one part.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getIsMultipart in interface IGpDescribeGeometry
Returns:
The multipart
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPartCount

public int getPartCount()
                 throws IOException,
                        AutomationException
The number of parts of the geometry object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getPartCount in interface IGpDescribeGeometry
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPart

public Object getPart(Object part)
               throws IOException,
                      AutomationException
Returns the part of the geometry object at the specified index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getPart in interface IGpDescribeGeometry
Parameters:
part - A Variant (in, optional, pass null if not required)
Returns:
A reference to another Automation Object (IDispatch)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometry

public IGeometry getGeometry()
                      throws IOException,
                             AutomationException
Sets the geometry property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getGeometry in interface IGpDescribeGeometry
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHullRectangle

public String getHullRectangle()
                        throws IOException,
                               AutomationException
The four corners of the most narrow enclosing rectangle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getHullRectangle in interface IGpDescribeGeometry
Returns:
The rectangle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPointCount

public int getPointCount()
                  throws IOException,
                         AutomationException
The number of points of the geometry object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPointCount in interface IGpDescribeGeometry
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.