|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.location.RouteMeasureLineLocation
public class RouteMeasureLineLocation
A route measure line location.
A RouteMeasureLineLocation uses from and to measure values to describe a portion of a route.
Constructor Summary | |
---|---|
RouteMeasureLineLocation()
Constructs a RouteMeasureLineLocation using ArcGIS Engine. |
|
RouteMeasureLineLocation(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RouteMeasureLineLocation theRouteMeasureLineLocation = (RouteMeasureLineLocation) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
double |
getFromMeasure()
The 'from' measure value. |
double |
getLateralOffset()
The route location's lateral offset (default 0.0). |
int |
getMeasureUnit()
The route location's measure units. |
Object |
getRouteID()
The route identifier (string, integer or double). |
double |
getToMeasure()
The 'to' measure value. |
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 |
setFromMeasure(double value)
The 'from' measure value. |
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 |
setMeasureUnit(int units)
The route location's measure units. |
void |
setRouteID(Object rid)
The route identifier (string, integer or double). |
void |
setToMeasure(double value)
The 'to' measure value. |
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 RouteMeasureLineLocation() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RouteMeasureLineLocation(Object obj) throws IOException
RouteMeasureLineLocation theRouteMeasureLineLocation = (RouteMeasureLineLocation) obj;
obj
to RouteMeasureLineLocation
.
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 setFromMeasure(double value) throws IOException, AutomationException
setFromMeasure
in interface IRouteMeasureLineLocation
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getFromMeasure() throws IOException, AutomationException
getFromMeasure
in interface IRouteMeasureLineLocation
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setToMeasure(double value) throws IOException, AutomationException
setToMeasure
in interface IRouteMeasureLineLocation
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getToMeasure() throws IOException, AutomationException
getToMeasure
in interface IRouteMeasureLineLocation
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 |