com.esri.arcgis.editor
Interface ITraverseAdjustment

All Superinterfaces:
Serializable
All Known Implementing Classes:
ITraverseAdjustmentProxy, TraverseAdjustment

public interface ITraverseAdjustment
extends Serializable

Provides access to members that perform adjustment computations.

Remarks

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.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 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 .
 

Method Detail

calculateAdjustment

IPolyline calculateAdjustment(IPolyline polyline,
                              IPoint pEnd,
                              int adjustmentType)
                              throws IOException,
                                     AutomationException
Performs the specified adjustment computation on the geometry.

Remarks

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.

Product Availability

Available with ArcGIS Desktop.

Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geometry.IPolyline
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

calculateClosure

ITraverseClosure calculateClosure(IPolyline polyline,
                                  IPoint pEnd)
                                  throws IOException,
                                         AutomationException
Caculates the closure for the .

Remarks

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.

Product Availability

Available with ArcGIS Desktop.

Parameters:
polyline - A reference to a com.esri.arcgis.geometry.IPolyline (in)
pEnd - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
A reference to a com.esri.arcgis.editor.ITraverseClosure
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.