com.esri.arcgis.networkanalysis
Class PointToEID

java.lang.Object
  extended by com.esri.arcgis.networkanalysis.PointToEID
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IPointToEID, java.io.Serializable

public class PointToEID
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IPointToEID

COM Class 'PointToEID'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriNetworkAnalysis.olb'

Description 'A container for finding the nearest network element ID to a given point.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.networkanalysis.IPointToEID
IID, IID246c27a0_276c_4fbb_8d61_1163159e7f4b, xxDummy
 
Constructor Summary
PointToEID()
          Constructs a PointToEID using ArcGIS Engine.
PointToEID(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
PointToEID thePointToEID = (PointToEID) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void getNearestEdge(IPoint inputPoint, int[] nearestEdgeEID, IPoint[] location, double[] percent)
          Returns the edge EID nearest to the input point, the physical point location that corresponds to the EID, and the percentage along that EID.
 void getNearestJunction(IPoint inputPoint, int[] nearestJunctionEID, IPoint[] location)
          Returns the junction EID nearest to the input point, and the physical point location that corresponds to the EID.
 int hashCode()
          the hashcode for this object
 void release()
          Release a PointToEID.
 void setGeometricNetworkByRef(IGeometricNetwork rhs1)
          Source geometric network from which the result EID will come.
 void setSnapTolerance(double rhs1)
          Maximum distance from the input point to an acceptable EID.
 void setSourceMapByRef(IMap rhs1)
          Source map in which to search for the nearest EID.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointToEID

public PointToEID()
           throws java.io.IOException,
                  java.net.UnknownHostException
Constructs a PointToEID using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

PointToEID

public PointToEID(java.lang.Object obj)
           throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
PointToEID thePointToEID = (PointToEID) obj;

Construct a PointToEID using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to PointToEID.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a PointToEID.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setSnapTolerance

public void setSnapTolerance(double rhs1)
                      throws java.io.IOException,
                             AutomationException
Maximum distance from the input point to an acceptable EID.

Specified by:
setSnapTolerance in interface IPointToEID
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeometricNetworkByRef

public void setGeometricNetworkByRef(IGeometricNetwork rhs1)
                              throws java.io.IOException,
                                     AutomationException
Source geometric network from which the result EID will come.

Specified by:
setGeometricNetworkByRef in interface IPointToEID
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.IGeometricNetwork (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSourceMapByRef

public void setSourceMapByRef(IMap rhs1)
                       throws java.io.IOException,
                              AutomationException
Source map in which to search for the nearest EID.

Specified by:
setSourceMapByRef in interface IPointToEID
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IMap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNearestEdge

public void getNearestEdge(IPoint inputPoint,
                           int[] nearestEdgeEID,
                           IPoint[] location,
                           double[] percent)
                    throws java.io.IOException,
                           AutomationException
Returns the edge EID nearest to the input point, the physical point location that corresponds to the EID, and the percentage along that EID.

Specified by:
getNearestEdge in interface IPointToEID
Parameters:
inputPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
nearestEdgeEID - The nearestEdgeEID (out: use single element array)
location - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)
percent - The percent (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNearestJunction

public void getNearestJunction(IPoint inputPoint,
                               int[] nearestJunctionEID,
                               IPoint[] location)
                        throws java.io.IOException,
                               AutomationException
Returns the junction EID nearest to the input point, and the physical point location that corresponds to the EID.

Specified by:
getNearestJunction in interface IPointToEID
Parameters:
inputPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
nearestJunctionEID - The nearestJunctionEID (out: use single element array)
location - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.