com.esri.arcgis.geoprocessing
Interface IGPPolygon

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GPPolygon, IGPPolygonProxy

public interface IGPPolygon
extends java.io.Serializable

COM Interface 'IGPPolygon'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description: 'Provides access to the properties/methods of a geoprocessing polygon object.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID3f78d6d8_0b9a_4677_ae55_84ff0519549d
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addCoords(double x, double y)
          Adds a point to the polygon given the x/y coordinates.
 void addPoint(IGPPoint point)
          Adds a point to the polygon.
 void getCoords(int index, double[] x, double[] y)
          Returns the x/y coordinates of the point at the given index.
 int getCount()
          The number of points in the polygon.
 IGPPoint getPoint(int index)
          Returns the point at the given index.
 

Field Detail

IID3f78d6d8_0b9a_4677_ae55_84ff0519549d

static final int IID3f78d6d8_0b9a_4677_ae55_84ff0519549d
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getCount

int getCount()
             throws java.io.IOException,
                    AutomationException
The number of points in the polygon.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPoint

IGPPoint getPoint(int index)
                  throws java.io.IOException,
                         AutomationException
Returns the point at the given index.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addPoint

void addPoint(IGPPoint point)
              throws java.io.IOException,
                     AutomationException
Adds a point to the polygon.

Parameters:
point - A reference to a com.esri.arcgis.geoprocessing.IGPPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoords

void getCoords(int index,
               double[] x,
               double[] y)
               throws java.io.IOException,
                      AutomationException
Returns the x/y coordinates of the point at the given index.

Parameters:
index - The index (in)
x - The x (out: use single element array)
y - The y (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addCoords

void addCoords(double x,
               double y)
               throws java.io.IOException,
                      AutomationException
Adds a point to the polygon given the x/y coordinates.

Parameters:
x - The x (in)
y - The y (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.