com.esri.arcgis.geometry
Class IEnumCurveProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.IEnumCurveProxy
All Implemented Interfaces:
IEnumCurve, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IEnumCurve2Proxy

public class IEnumCurveProxy
extends com.esri.arcgis.interop.Dispatch
implements IEnumCurve, java.io.Serializable

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

Description: 'Provides access to members that allow efficient construction of sequential subcurves along a polyline or polygon.' 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.IEnumCurve
IID, IIDa478c6a8_ddad_11d2_9f27_00c04f6bc8e8
 
Constructor Summary
  IEnumCurveProxy()
          For internal use only
  IEnumCurveProxy(java.lang.Object obj)
           
protected IEnumCurveProxy(java.lang.Object obj, java.lang.String iid)
           
  IEnumCurveProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IEnumCurveProxy(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)
           
 IEnumCurve esri_clone()
          Returns a copy of this enumerator positioned at the same segment.
 double getCurveDistance()
          The current distance from the start of the curve.
 int getPartIndex()
          The current part index.
 ISegment getSegment()
          The segment covering the current distance of this curve iterator.
 double getSegmentDistance()
          The distance within the current segment of the current distance of this curve iterator.
 int getSegmentIndex()
          The current segment index within the current part.
 int getStopOptions()
          Stop options for the distance iterator.
 int getStopReason()
          The reason for the current position of the distance iterator.
 ICurve getSubcurve(double fromDistance, double toDistance, boolean asRatio)
          Extracts a portion of this curve into a new curve.
 void next(double distance)
          Moves iterator to a specified distance along the curve.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void reset()
          Resets the iterator to the start of the curve.
 void setStopOptions(int stopOptions)
          Stop options for the distance iterator.
 
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

IEnumCurveProxy

public IEnumCurveProxy(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

IEnumCurveProxy

public IEnumCurveProxy()
For internal use only


IEnumCurveProxy

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

IEnumCurveProxy

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

IEnumCurveProxy

protected IEnumCurveProxy(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

esri_clone

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

Specified by:
esri_clone in interface IEnumCurve
Returns:
A reference to a com.esri.arcgis.geometry.IEnumCurve
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
Resets the iterator to the start of the curve.

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

next

public void next(double distance)
          throws java.io.IOException,
                 AutomationException
Moves iterator to a specified distance along the curve.

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

getSegment

public ISegment getSegment()
                    throws java.io.IOException,
                           AutomationException
The segment covering the current distance of this curve iterator.

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

getSegmentDistance

public double getSegmentDistance()
                          throws java.io.IOException,
                                 AutomationException
The distance within the current segment of the current distance of this curve iterator.

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

getCurveDistance

public double getCurveDistance()
                        throws java.io.IOException,
                               AutomationException
The current distance from the start of the curve.

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

getPartIndex

public int getPartIndex()
                 throws java.io.IOException,
                        AutomationException
The current part index.

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

getSegmentIndex

public int getSegmentIndex()
                    throws java.io.IOException,
                           AutomationException
The current segment index within the current part.

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

getStopReason

public int getStopReason()
                  throws java.io.IOException,
                         AutomationException
The reason for the current position of the distance iterator.

Specified by:
getStopReason in interface IEnumCurve
Returns:
A com.esri.arcgis.geometry.esriCurveIteratorEnum constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStopOptions

public void setStopOptions(int stopOptions)
                    throws java.io.IOException,
                           AutomationException
Stop options for the distance iterator.

Specified by:
setStopOptions in interface IEnumCurve
Parameters:
stopOptions - A com.esri.arcgis.geometry.esriCurveIteratorEnum constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStopOptions

public int getStopOptions()
                   throws java.io.IOException,
                          AutomationException
Stop options for the distance iterator.

Specified by:
getStopOptions in interface IEnumCurve
Returns:
A com.esri.arcgis.geometry.esriCurveIteratorEnum constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubcurve

public ICurve getSubcurve(double fromDistance,
                          double toDistance,
                          boolean asRatio)
                   throws java.io.IOException,
                          AutomationException
Extracts a portion of this curve into a new curve.

Specified by:
getSubcurve in interface IEnumCurve
Parameters:
fromDistance - The fromDistance (in)
toDistance - The toDistance (in)
asRatio - The asRatio (in)
Returns:
A reference to a com.esri.arcgis.geometry.ICurve
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.