com.esri.arcgis.editor
Class ITraverseClosureProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.editor.ITraverseClosureProxy
All Implemented Interfaces:
ITraverseClosure, Externalizable, Serializable

public class ITraverseClosureProxy
extends com.esri.arcgis.interop.Dispatch
implements ITraverseClosure, Serializable

Provides access to members that report the traverse closure.

Remarks

ITraverseClosure is returned from the CalculateClosure method and reports the difference between the actual endpoint point of a polyline and the desired endpoint.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  ITraverseClosureProxy()
           
  ITraverseClosureProxy(Object obj)
           
protected ITraverseClosureProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IPoint getCalculatedEndPoint()
          The calculated closing point of the traverse.
 int getCourseCount()
          The number of courses in the traverse.
 IPoint getEndPoint()
          The closing point of the traverse.
 double getMisclosureDirection()
          The direction of the vector of misclosure.
 double getMisclosureDistance()
          The distance of the vector of misclosure.
 double getMisclosureX()
          The horizontal difference in closure.
 double getMisclosureY()
          The vertical difference in closure.
 double getRelativeErrorRatio()
          The relative error ratio of misclosure.
 double getTotalLength()
          The total length of the traverse.
 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

noncastable

public boolean noncastable
Constructor Detail

ITraverseClosureProxy

public ITraverseClosureProxy()

ITraverseClosureProxy

public ITraverseClosureProxy(Object obj)
                      throws IOException
Throws:
IOException

ITraverseClosureProxy

protected ITraverseClosureProxy(Object obj,
                                String iid)
                         throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getCourseCount

public int getCourseCount()
                   throws IOException,
                          AutomationException
The number of courses in the traverse.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getCourseCount in interface ITraverseClosure
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTotalLength

public double getTotalLength()
                      throws IOException,
                             AutomationException
The total length of the traverse.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getTotalLength in interface ITraverseClosure
Returns:
The length
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEndPoint

public IPoint getEndPoint()
                   throws IOException,
                          AutomationException
The closing point of the traverse.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getEndPoint in interface ITraverseClosure
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCalculatedEndPoint

public IPoint getCalculatedEndPoint()
                             throws IOException,
                                    AutomationException
The calculated closing point of the traverse.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getCalculatedEndPoint in interface ITraverseClosure
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMisclosureX

public double getMisclosureX()
                      throws IOException,
                             AutomationException
The horizontal difference in closure.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getMisclosureX in interface ITraverseClosure
Returns:
The y
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMisclosureY

public double getMisclosureY()
                      throws IOException,
                             AutomationException
The vertical difference in closure.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getMisclosureY in interface ITraverseClosure
Returns:
The x
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMisclosureDistance

public double getMisclosureDistance()
                             throws IOException,
                                    AutomationException
The distance of the vector of misclosure.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getMisclosureDistance in interface ITraverseClosure
Returns:
The dist
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMisclosureDirection

public double getMisclosureDirection()
                              throws IOException,
                                     AutomationException
The direction of the vector of misclosure.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getMisclosureDirection in interface ITraverseClosure
Returns:
The direction
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelativeErrorRatio

public double getRelativeErrorRatio()
                             throws IOException,
                                    AutomationException
The relative error ratio of misclosure.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getRelativeErrorRatio in interface ITraverseClosure
Returns:
The ratio
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.