com.esri.arcgis.geometry
Class IEnumVertexProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.IEnumVertexProxy
All Implemented Interfaces:
IEnumVertex, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IEnumPointAndDistanceProxy, IEnumSplitPointProxy, IEnumVertex2Proxy

public class IEnumVertexProxy
extends com.esri.arcgis.interop.Dispatch
implements IEnumVertex, java.io.Serializable

Internal use class Proxy for COM Interface 'IEnumVertex'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description: 'Provides access to members that iterate over the vertices or points of a geometry (see the EnumVertices property of the IPointCollection interface).' 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geometry.IEnumVertex
IID, IID4cf93638_eb81_11d2_9f2d_00c04f6bc8e8
 
Constructor Summary
  IEnumVertexProxy()
          For internal use only
  IEnumVertexProxy(java.lang.Object obj)
           
protected IEnumVertexProxy(java.lang.Object obj, java.lang.String iid)
           
  IEnumVertexProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IEnumVertexProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 IEnumVertex esri_clone()
          Returns a copy of this enumerator positioned at the same vertex.
 boolean isLastInPart()
          Indicates if the current vertex is last in the current part.
 void next(IPoint[] outVertex, int[] outPartIndex, int[] vertexIndex)
          Returns the next vertex and its location within the geometry.
 void nextInPart(IPoint[] outVertex, int[] outVertexIndex)
          Returns the next vertex in current part, or goes back to the first vertex in the part after last vertex in part is encountered.
 void previous(IPoint[] outVertex, int[] outPartIndex, int[] vertexIndex)
          Returns the previous vertex and its location in the geometry.
 void put_ID(int pointID)
          Sets the ID attribute of the current vertex.
 void put_M(double m)
          Sets the M attribute of the current vertex.
 void put_X(double x)
          Sets the X coordinate of the current vertex.
 void put_Y(double y)
          Sets the Y coordinate of the current vertex.
 void put_Z(double z)
          Sets the Z coordinate of the current vertex.
 void queryNext(IPoint vertex, int[] outPartIndex, int[] vertexIndex)
          Copies the next vertex to the input parameter and returns its location in the geometry.
 void queryNextInPart(IPoint vertex, int[] outVertexIndex)
          Copies the next vertex in the current part to the input parameter and returns its location in current part.
 void queryPrevious(IPoint vertex, int[] outPartIndex, int[] vertexIndex)
          Copies the previous vertex to the input parameter and returns its location in the geometry.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void reset()
          Starts from the beginning of the geometry the next time Next is called.
 void resetToEnd()
          Starts from the end of the geometry the next time Previous is called.
 void setAt(int iPart, int iVertex)
          Resets enumerator to specific location.
 void skip(int numVertices)
          Skips forward or backward over a specified number of vertices.
 
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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IEnumVertexProxy

public IEnumVertexProxy(java.lang.String CLSID,
                        java.lang.String host,
                        com.esri.arcgis.interop.AuthInfo authInfo)
                 throws java.net.UnknownHostException,
                        java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IEnumVertexProxy

public IEnumVertexProxy()
For internal use only


IEnumVertexProxy

public IEnumVertexProxy(java.lang.Object obj)
                 throws java.io.IOException
Throws:
java.io.IOException

IEnumVertexProxy

protected IEnumVertexProxy(java.lang.Object obj,
                           java.lang.String iid)
                    throws java.io.IOException
Throws:
java.io.IOException

IEnumVertexProxy

protected IEnumVertexProxy(java.lang.String CLSID,
                           java.lang.String iid,
                           java.lang.String host,
                           com.esri.arcgis.interop.AuthInfo authInfo)
                    throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

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

removeListener

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

next

public void next(IPoint[] outVertex,
                 int[] outPartIndex,
                 int[] vertexIndex)
          throws java.io.IOException,
                 AutomationException
Returns the next vertex and its location within the geometry.

Specified by:
next in interface IEnumVertex
Parameters:
outVertex - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)
outPartIndex - The outPartIndex (out: use single element array)
vertexIndex - The vertexIndex (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNext

public void queryNext(IPoint vertex,
                      int[] outPartIndex,
                      int[] vertexIndex)
               throws java.io.IOException,
                      AutomationException
Copies the next vertex to the input parameter and returns its location in the geometry.

Specified by:
queryNext in interface IEnumVertex
Parameters:
vertex - A reference to a com.esri.arcgis.geometry.IPoint (in)
outPartIndex - The outPartIndex (out: use single element array)
vertexIndex - The vertexIndex (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

previous

public void previous(IPoint[] outVertex,
                     int[] outPartIndex,
                     int[] vertexIndex)
              throws java.io.IOException,
                     AutomationException
Returns the previous vertex and its location in the geometry.

Specified by:
previous in interface IEnumVertex
Parameters:
outVertex - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)
outPartIndex - The outPartIndex (out: use single element array)
vertexIndex - The vertexIndex (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryPrevious

public void queryPrevious(IPoint vertex,
                          int[] outPartIndex,
                          int[] vertexIndex)
                   throws java.io.IOException,
                          AutomationException
Copies the previous vertex to the input parameter and returns its location in the geometry.

Specified by:
queryPrevious in interface IEnumVertex
Parameters:
vertex - A reference to a com.esri.arcgis.geometry.IPoint (in)
outPartIndex - The outPartIndex (out: use single element array)
vertexIndex - The vertexIndex (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextInPart

public void nextInPart(IPoint[] outVertex,
                       int[] outVertexIndex)
                throws java.io.IOException,
                       AutomationException
Returns the next vertex in current part, or goes back to the first vertex in the part after last vertex in part is encountered.

Specified by:
nextInPart in interface IEnumVertex
Parameters:
outVertex - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)
outVertexIndex - The outVertexIndex (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNextInPart

public void queryNextInPart(IPoint vertex,
                            int[] outVertexIndex)
                     throws java.io.IOException,
                            AutomationException
Copies the next vertex in the current part to the input parameter and returns its location in current part. Continues with the first vertex in the part if already at the end.

Specified by:
queryNextInPart in interface IEnumVertex
Parameters:
vertex - A reference to a com.esri.arcgis.geometry.IPoint (in)
outVertexIndex - The outVertexIndex (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

skip

public void skip(int numVertices)
          throws java.io.IOException,
                 AutomationException
Skips forward or backward over a specified number of vertices.

Specified by:
skip in interface IEnumVertex
Parameters:
numVertices - The numVertices (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Starts from the beginning of the geometry the next time Next is called.

Specified by:
reset in interface IEnumVertex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_clone

public IEnumVertex esri_clone()
                       throws java.io.IOException,
                              AutomationException
Returns a copy of this enumerator positioned at the same vertex.

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

resetToEnd

public void resetToEnd()
                throws java.io.IOException,
                       AutomationException
Starts from the end of the geometry the next time Previous is called.

Specified by:
resetToEnd in interface IEnumVertex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAt

public void setAt(int iPart,
                  int iVertex)
           throws java.io.IOException,
                  AutomationException
Resets enumerator to specific location.

Specified by:
setAt in interface IEnumVertex
Parameters:
iPart - The iPart (in)
iVertex - The iVertex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLastInPart

public boolean isLastInPart()
                     throws java.io.IOException,
                            AutomationException
Indicates if the current vertex is last in the current part.

Specified by:
isLastInPart in interface IEnumVertex
Returns:
The isLastInPart
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

put_X

public void put_X(double x)
           throws java.io.IOException,
                  AutomationException
Sets the X coordinate of the current vertex. For segment-based geometries, this will modify a pair of segments.

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

put_Y

public void put_Y(double y)
           throws java.io.IOException,
                  AutomationException
Sets the Y coordinate of the current vertex. For segment-based geometries, this will modify a pair of segments.

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

put_Z

public void put_Z(double z)
           throws java.io.IOException,
                  AutomationException
Sets the Z coordinate of the current vertex. For segment-based geometries, this will modify a pair of segments.

Specified by:
put_Z in interface IEnumVertex
Parameters:
z - The z (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

put_M

public void put_M(double m)
           throws java.io.IOException,
                  AutomationException
Sets the M attribute of the current vertex. For segment-based geometries, this will modify a pair of segments.

Specified by:
put_M in interface IEnumVertex
Parameters:
m - The m (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

put_ID

public void put_ID(int pointID)
            throws java.io.IOException,
                   AutomationException
Sets the ID attribute of the current vertex. For segment-based geometries, this will modify a pair of segments.

Specified by:
put_ID in interface IEnumVertex
Parameters:
pointID - The pointID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.