com.esri.arcgis.geometry
Class IEnumPointAndDistanceProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.IEnumVertexProxy
          extended by com.esri.arcgis.geometry.IEnumPointAndDistanceProxy
All Implemented Interfaces:
IEnumPointAndDistance, IEnumVertex, Externalizable, Serializable

public class IEnumPointAndDistanceProxy
extends IEnumVertexProxy
implements IEnumPointAndDistance, Serializable

Provides access to members that iterate over the points on a geometry that are closest to an input point, as returned by QueryPointsAndDistances.

Description

The IEnumPointAndDistance enumerator is used with the ICurve3::QueryPointsAndDistances method.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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
  IEnumPointAndDistanceProxy()
           
  IEnumPointAndDistanceProxy(Object obj)
           
protected IEnumPointAndDistanceProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 double getDistanceAlongCurve()
          Gives the distance along the curve from the curve's from point to the current postion.
 boolean isContinuousSectionAfter()
          Indicates whether the current point and the next point lie on a circular arc with the query point at its center.
 boolean isContinuousSectionBefore()
          Indicates whether the current point and the previous point lie on a circular arc with the query point at its center.
 boolean isOnRightSide()
          Indicates whether the query point is to the right of the curve at the current position.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.geometry.IEnumVertexProxy
esri_clone, isLastInPart, next, nextInPart, previous, put_ID, put_M, put_X, put_Y, put_Z, queryNext, queryNextInPart, queryPrevious, reset, resetToEnd, setAt, skip
 
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
 
Methods inherited from interface com.esri.arcgis.geometry.IEnumVertex
esri_clone, isLastInPart, next, nextInPart, previous, put_ID, put_M, put_X, put_Y, put_Z, queryNext, queryNextInPart, queryPrevious, reset, resetToEnd, setAt, skip
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IEnumPointAndDistanceProxy

public IEnumPointAndDistanceProxy()

IEnumPointAndDistanceProxy

public IEnumPointAndDistanceProxy(Object obj)
                           throws IOException
Throws:
IOException

IEnumPointAndDistanceProxy

protected IEnumPointAndDistanceProxy(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 IEnumVertexProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IEnumVertexProxy
Throws:
IOException

isContinuousSectionBefore

public boolean isContinuousSectionBefore()
                                  throws IOException,
                                         AutomationException
Indicates whether the current point and the previous point lie on a circular arc with the query point at its center.

Description

The ContinuousSectionAfter and ContinuousSectionBefore indicate if two subsequent points in the enumerator are lying on a Circular Arc.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isContinuousSectionBefore in interface IEnumPointAndDistance
Returns:
The continuousSectionBefore
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isContinuousSectionAfter

public boolean isContinuousSectionAfter()
                                 throws IOException,
                                        AutomationException
Indicates whether the current point and the next point lie on a circular arc with the query point at its center.

Description

The ContinuousSectionAfter and ContinuousSectionBefore indicate if two subsequent points in the enumerator are lying on a Circular Arc.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isContinuousSectionAfter in interface IEnumPointAndDistance
Returns:
The continuousSectionAfter
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isOnRightSide

public boolean isOnRightSide()
                      throws IOException,
                             AutomationException
Indicates whether the query point is to the right of the curve at the current position.

Description

OnRightSide indicates if the current point is on the right side of the curve.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isOnRightSide in interface IEnumPointAndDistance
Returns:
The onRightSide
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDistanceAlongCurve

public double getDistanceAlongCurve()
                             throws IOException,
                                    AutomationException
Gives the distance along the curve from the curve's from point to the current postion.

Description

DistanceAlongCurve indicates the distance between the fromPoint and the current point on the enumerator. That distance can be either a real distance or a ratio varying between 0 and 1.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDistanceAlongCurve in interface IEnumPointAndDistance
Returns:
The distanceAlong
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.