com.esri.arcgis.geoprocessing
Interface IGPLine

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GPLine, IGPLineProxy

public interface IGPLine
extends java.io.Serializable

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

Description: 'Provides access to the properties/methods of a geoprocessing line 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 IID16880be0_ec1e_46bd_9f87_82d1fcbd6009
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addCoords(double x, double y)
          Adds a point to the line given the x/y coordinates.
 void addPoint(IGPPoint point)
          Adds a point to the line.
 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 line.
 IGPPoint getPoint(int index)
          Returns the point at the given index.
 

Field Detail

IID16880be0_ec1e_46bd_9f87_82d1fcbd6009

static final int IID16880be0_ec1e_46bd_9f87_82d1fcbd6009
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 line.

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 line.

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 line 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.