com.esri.arcgis.location
Class RouteMeasurePointLocation

java.lang.Object
  extended by com.esri.arcgis.location.RouteMeasurePointLocation
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IRouteLocation, IRouteLocation2, IRouteMeasurePointLocation, ISupportErrorInfo, Serializable

public class RouteMeasurePointLocation
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IRouteLocation2, IRouteMeasurePointLocation, ISupportErrorInfo

A route measure point location.

Remarks

A RouteMeasurePointLocation uses a single measure value to describe a single position along a route.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

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

RouteMeasurePointLocation

public RouteMeasurePointLocation()
                          throws IOException,
                                 UnknownHostException
Constructs a RouteMeasurePointLocation using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

RouteMeasurePointLocation

public RouteMeasurePointLocation(Object obj)
                          throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RouteMeasurePointLocation theRouteMeasurePointLocation = (RouteMeasurePointLocation) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setMDirectionOffsetting

public void setMDirectionOffsetting(boolean value)
                             throws IOException,
                                    AutomationException
Indicates if the offset should based on the M direction or the digitized direction.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setMDirectionOffsetting in interface IRouteLocation2
Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMDirectionOffsetting

public boolean isMDirectionOffsetting()
                               throws IOException,
                                      AutomationException
Indicates if the offset should based on the M direction or the digitized direction.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isMDirectionOffsetting in interface IRouteLocation2
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRouteID

public void setRouteID(Object rid)
                throws IOException,
                       AutomationException
The route identifier (string, integer or double).

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setRouteID in interface IRouteLocation
Parameters:
rid - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRouteID

public Object getRouteID()
                  throws IOException,
                         AutomationException
The route identifier (string, integer or double).

Remarks

The RouteID property defines the route identifier on which the route measure location exists.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRouteID in interface IRouteLocation
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMeasureUnit

public void setMeasureUnit(int units)
                    throws IOException,
                           AutomationException
The route location's measure units.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setMeasureUnit in interface IRouteLocation
Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMeasureUnit

public int getMeasureUnit()
                   throws IOException,
                          AutomationException
The route location's measure units.

Remarks

The MeasureUnit property is the unit of measurement for the route measure location.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getMeasureUnit in interface IRouteLocation
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLateralOffset

public void setLateralOffset(double value)
                      throws IOException,
                             AutomationException
The route location's lateral offset (default 0.0).

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setLateralOffset in interface IRouteLocation
Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLateralOffset

public double getLateralOffset()
                        throws IOException,
                               AutomationException
The route location's lateral offset (default 0.0).

Remarks

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getLateralOffset in interface IRouteLocation
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMeasure

public void setMeasure(double value)
                throws IOException,
                       AutomationException
The measure value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setMeasure in interface IRouteMeasurePointLocation
Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMeasure

public double getMeasure()
                  throws IOException,
                         AutomationException
The measure value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getMeasure in interface IRouteMeasurePointLocation
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.