|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.editor.TraverseAdjustment
public class TraverseAdjustment
Performs Traverse Adjustment Calculations.
The TraverseAdjustment is used to adjust a polyline to eliminate misclosure between the endpoint of the geometry and a desired endpoint.
Constructor Summary | |
---|---|
TraverseAdjustment()
Constructs a TraverseAdjustment using ArcGIS Engine. |
|
TraverseAdjustment(Object obj)
Construct a TraverseAdjustment using a reference to such an object returned from ArcGIS Engine or Server. |
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 . |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public TraverseAdjustment() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TraverseAdjustment(Object obj) throws IOException
obj
to TraverseAdjustment
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
TraverseAdjustment theTraverseAdjustment = (TraverseAdjustment) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
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 |