|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.networkanalysis.PointToEID
public class PointToEID
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 =
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 |
---|
public PointToEID() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic PointToEID(java.lang.Object obj) throws java.io.IOException
PointToEID thePointToEID = (PointToEID) obj;
obj
to PointToEID
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setSnapTolerance(double rhs1) throws java.io.IOException, AutomationException
setSnapTolerance
in interface IPointToEID
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGeometricNetworkByRef(IGeometricNetwork rhs1) throws java.io.IOException, AutomationException
setGeometricNetworkByRef
in interface IPointToEID
rhs1
- A reference to a com.esri.arcgis.geodatabase.IGeometricNetwork (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSourceMapByRef(IMap rhs1) throws java.io.IOException, AutomationException
setSourceMapByRef
in interface IPointToEID
rhs1
- A reference to a com.esri.arcgis.carto.IMap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getNearestEdge(IPoint inputPoint, int[] nearestEdgeEID, IPoint[] location, double[] percent) throws java.io.IOException, AutomationException
getNearestEdge
in interface IPointToEID
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getNearestJunction(IPoint inputPoint, int[] nearestJunctionEID, IPoint[] location) throws java.io.IOException, AutomationException
getNearestJunction
in interface IPointToEID
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)
java.io.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 |