com.esri.arcgis.geometry
Class IEnumSplitPointProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.IEnumVertexProxy
          extended by com.esri.arcgis.geometry.IEnumSplitPointProxy
All Implemented Interfaces:
IEnumSplitPoint, IEnumVertex, Externalizable, Serializable

public class IEnumSplitPointProxy
extends IEnumVertexProxy
implements IEnumSplitPoint, Serializable

Provides access to members that iterate over the new vertices in a geometry introduced as a result of using SplitAtPoints/SplitAtDistances.

Description

The IEnumSplitPoint is used by the IPolycurve2::SplitAtPoints and the IPolycurve2::SplitAtDistances methods.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  IEnumSplitPointProxy()
           
  IEnumSplitPointProxy(Object obj)
           
protected IEnumSplitPointProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getOldID()
          The original PointID value at the split location before the split happened.
 double getOldM()
          The original M value at the current split location before the split happened.
 double getOldZ()
          The original Z value at the current split location before the split happened.
 double getSplitDistance()
          The distance of the current split vertex from the beginning of the polycurve.
 boolean isSplitHappened()
          Indicates whether or not a split was performed at the current vertex (a split point could be the same as a vertex existing before SplitAtPoints/Distances was used).
 void nextInSequence(IPoint[] splitPoint, int[] part, int[] vertex)
          Returns the next split point along with its location in the geometry.
 void previousInSequence(IPoint[] splitPoint, int[] part, int[] vertex)
          Returns the previous split point along with its location in the geometry.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.geometry.IEnumVertexProxy
esri_clone, isLastInPart, next, nextInPart, previous, put_ID, put_M, put_X, put_Y, put_Z, queryNext, queryNextInPart, queryPrevious, reset, resetToEnd, setAt, skip
 
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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geometry.IEnumVertex
esri_clone, isLastInPart, next, nextInPart, previous, put_ID, put_M, put_X, put_Y, put_Z, queryNext, queryNextInPart, queryPrevious, reset, resetToEnd, setAt, skip
 

Constructor Detail

IEnumSplitPointProxy

public IEnumSplitPointProxy()

IEnumSplitPointProxy

public IEnumSplitPointProxy(Object obj)
                     throws IOException
Throws:
IOException

IEnumSplitPointProxy

protected IEnumSplitPointProxy(Object obj,
                               String iid)
                        throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IEnumVertexProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IEnumVertexProxy
Throws:
IOException

nextInSequence

public void nextInSequence(IPoint[] splitPoint,
                           int[] part,
                           int[] vertex)
                    throws IOException,
                           AutomationException
Returns the next split point along with its location in the geometry.

Description

The NextInSequence method returns an IPoint object along with its part index and its vertex index. The points returned by that method are the input splitPoints if the IEnumSplitPoint was created using the IPolycurve2::SplitAtPoints method or they are points located on the split curve if the IPolycurve2::SplitAtDistances method was used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

previousInSequence

public void previousInSequence(IPoint[] splitPoint,
                               int[] part,
                               int[] vertex)
                        throws IOException,
                               AutomationException
Returns the previous split point along with its location in the geometry.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

isSplitHappened

public boolean isSplitHappened()
                        throws IOException,
                               AutomationException
Indicates whether or not a split was performed at the current vertex (a split point could be the same as a vertex existing before SplitAtPoints/Distances was used).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isSplitHappened in interface IEnumSplitPoint
Returns:
The splitHappened
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSplitDistance

public double getSplitDistance()
                        throws IOException,
                               AutomationException
The distance of the current split vertex from the beginning of the polycurve.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSplitDistance in interface IEnumSplitPoint
Returns:
The splitDistance
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOldM

public double getOldM()
               throws IOException,
                      AutomationException
The original M value at the current split location before the split happened.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getOldM in interface IEnumSplitPoint
Returns:
The oldM
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOldZ

public double getOldZ()
               throws IOException,
                      AutomationException
The original Z value at the current split location before the split happened.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getOldZ in interface IEnumSplitPoint
Returns:
The oldZ
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOldID

public int getOldID()
             throws IOException,
                    AutomationException
The original PointID value at the split location before the split happened.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getOldID in interface IEnumSplitPoint
Returns:
The oldID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class IEnumVertexProxy
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class IEnumVertexProxy
Throws:
IOException
ClassNotFoundException