|
|||||||||
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.editor.ITraverseAdjustmentProxy
public class ITraverseAdjustmentProxy
Provides access to members that perform adjustment computations.
ITraverseAdjustment allows a misclose to be caclulated between the endpoint of a polyline and the desired endpoint. The misclose can be distributed amongst the segments of the polyline using various adjustment techniques. Use the CalculateClosure method to check how close the endpoint is from your desired endpoint. If the closure is too great, you can use the CalculateAdjustment method to create a new adjusted polyline.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ITraverseAdjustmentProxy()
|
|
ITraverseAdjustmentProxy(Object obj)
|
protected |
ITraverseAdjustmentProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IPolyline |
calculateAdjustment(IPolyline polyline,
IPoint pEnd,
int adjustmentType)
Performs the specified adjustment computation on the geometry. |
ITraverseClosure |
calculateClosure(IPolyline polyline,
IPoint pEnd)
Caculates the closure for the . |
void |
removeListener(String iidStr,
Object theListener)
|
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public ITraverseAdjustmentProxy()
public ITraverseAdjustmentProxy(Object obj) throws IOException
IOException
protected ITraverseAdjustmentProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public IPolyline calculateAdjustment(IPolyline polyline, IPoint pEnd, int adjustmentType) throws IOException, AutomationException
The CalculateAdjustment method is used by the Traverse Window and COGO Area commands in the Editor to adjust for the differences in a polyline between the actual endpoint and a desired endpoint.
calculateAdjustment
in interface ITraverseAdjustment
polyline
- A reference to a com.esri.arcgis.geometry.IPolyline (in)pEnd
- A reference to a com.esri.arcgis.geometry.IPoint (in)adjustmentType
- A com.esri.arcgis.editor.esriAdjustmentType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITraverseClosure calculateClosure(IPolyline polyline, IPoint pEnd) throws IOException, AutomationException
The CalculateClosure method is used by the Traverse Window in the Editor to report the differences in a polyline between the actual endpoint and a desired endpoint. The closure report is returned as an ITraverseClosure.
calculateClosure
in interface ITraverseAdjustment
polyline
- A reference to a com.esri.arcgis.geometry.IPolyline (in)pEnd
- A reference to a com.esri.arcgis.geometry.IPoint (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 |