|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.location.RouteMeasurePointLocation
public class RouteMeasurePointLocation
A route measure point location.
A RouteMeasurePointLocation uses a single measure value to describe a single position along a route.
Constructor Summary | |
---|---|
RouteMeasurePointLocation()
Constructs a RouteMeasurePointLocation using ArcGIS Engine. |
|
RouteMeasurePointLocation(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RouteMeasurePointLocation theRouteMeasurePointLocation = (RouteMeasurePointLocation) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
double |
getLateralOffset()
The route location's lateral offset (default 0.0). |
double |
getMeasure()
The measure value. |
int |
getMeasureUnit()
The route location's measure units. |
Object |
getRouteID()
The route identifier (string, integer or double). |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isMDirectionOffsetting()
Indicates if the offset should based on the M direction or the digitized direction. |
void |
setLateralOffset(double value)
The route location's lateral offset (default 0.0). |
void |
setMDirectionOffsetting(boolean value)
Indicates if the offset should based on the M direction or the digitized direction. |
void |
setMeasure(double value)
The measure value. |
void |
setMeasureUnit(int units)
The route location's measure units. |
void |
setRouteID(Object rid)
The route identifier (string, integer or double). |
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 RouteMeasurePointLocation() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RouteMeasurePointLocation(Object obj) throws IOException
RouteMeasurePointLocation theRouteMeasurePointLocation = (RouteMeasurePointLocation) obj;
obj
to RouteMeasurePointLocation
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setMDirectionOffsetting(boolean value) throws IOException, AutomationException
setMDirectionOffsetting
in interface IRouteLocation2
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isMDirectionOffsetting() throws IOException, AutomationException
isMDirectionOffsetting
in interface IRouteLocation2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRouteID(Object rid) throws IOException, AutomationException
setRouteID
in interface IRouteLocation
rid
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getRouteID() throws IOException, AutomationException
The RouteID property defines the route identifier on which the route measure location exists.
getRouteID
in interface IRouteLocation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMeasureUnit(int units) throws IOException, AutomationException
setMeasureUnit
in interface IRouteLocation
units
- A com.esri.arcgis.system.esriUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMeasureUnit() throws IOException, AutomationException
The MeasureUnit property is the unit of measurement for the route measure location.
getMeasureUnit
in interface IRouteLocation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLateralOffset(double value) throws IOException, AutomationException
setLateralOffset
in interface IRouteLocation
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getLateralOffset() throws IOException, AutomationException
The LateralOffset property is the lateral offset of the route measure location from the route. Whether this offset is to the left or right of the route depends IRouteLocation2::MDirectionOffsetting property.
getLateralOffset
in interface IRouteLocation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMeasure(double value) throws IOException, AutomationException
setMeasure
in interface IRouteMeasurePointLocation
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMeasure() throws IOException, AutomationException
getMeasure
in interface IRouteMeasurePointLocation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (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 |