|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITraverseAdjustment
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.
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 |
---|
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.
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.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.
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 |