|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGPLine
Provides access to the properties/methods of a geoprocessing line object.
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. |
Method Detail |
---|
int getCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPPoint getPoint(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addPoint(IGPPoint point) throws IOException, AutomationException
point
- A reference to a com.esri.arcgis.geoprocessing.IGPPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getCoords(int index, double[] x, double[] y) throws IOException, AutomationException
index
- The index (in)x
- The x (out: use single element array)y
- The y (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addCoords(double x, double y) throws IOException, AutomationException
x
- The x (in)y
- The y (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 |