|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geometry.IEnumVertexProxy com.esri.arcgis.geometry.IEnumSplitPointProxy
public class IEnumSplitPointProxy
Provides access to members that iterate over the new vertices in a geometry introduced as a result of using SplitAtPoints/SplitAtDistances.
The IEnumSplitPoint is used by the IPolycurve2::SplitAtPoints and the IPolycurve2::SplitAtDistances methods.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
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 |
removeListener(String iidStr,
Object theListener)
|
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, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
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 |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IEnumSplitPointProxy()
public IEnumSplitPointProxy(Object obj) throws IOException
IOException
protected IEnumSplitPointProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IEnumVertexProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IEnumVertexProxy
IOException
public void nextInSequence(IPoint[] splitPoint, int[] part, int[] vertex) throws IOException, AutomationException
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.
nextInSequence
in interface IEnumSplitPoint
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void previousInSequence(IPoint[] splitPoint, int[] part, int[] vertex) throws IOException, AutomationException
previousInSequence
in interface IEnumSplitPoint
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSplitHappened() throws IOException, AutomationException
isSplitHappened
in interface IEnumSplitPoint
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSplitDistance() throws IOException, AutomationException
getSplitDistance
in interface IEnumSplitPoint
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getOldM() throws IOException, AutomationException
getOldM
in interface IEnumSplitPoint
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getOldZ() throws IOException, AutomationException
getOldZ
in interface IEnumSplitPoint
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getOldID() throws IOException, AutomationException
getOldID
in interface IEnumSplitPoint
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 |