|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRouteMeasureCalibrator2
Provides access to route measure calibration methods.
The IRouteMeasureCalibrator2 interface is used to calibrate routes at a feature class level.
Routes can be calibrated by two methods:
An updateHow parameter is passed into the methods to specify whether calibration is to be done on the entire route or on portions of the route. Here are some examples of upDateHow:
Interpolate = 1
Extrapolate Before = 2
Extrapolate After = 4
A boolean parameter allRoutes is passed into the methods to specify whether all routes are be be included into the output, even the ones which are not calibrated due to no calibration points on the route.
For disjoint routes, gaps can be ignored or not ignored by setting the boolean parameter ignoreGaps to True or False. For CalibrateRoutesByMs, this property is always True.
Method Summary | |
---|---|
IFeatureClass |
getRouteFeatureClass()
The route feature class (Polyline with M feature class). |
ISelectionSet |
getRouteFeatureSelection()
A selection set of route features. |
String |
getRouteIDFieldName()
The route identifier field name. |
void |
setRouteFeatureClassByRef(IFeatureClass featureClass)
The route feature class (Polyline with M feature class). |
void |
setRouteFeatureSelectionByRef(ISelectionSet selection)
A selection set of route features. |
void |
setRouteIDFieldName(String fieldName)
The route identifier field name. |
Methods inherited from interface com.esri.arcgis.location.IRouteMeasureCalibrator |
---|
calibrateRoutesByDistance, calibrateRoutesByMs, getInputFeatureClass, getInputFeatureSelection, getInputMeasureFieldName, getInputRouteIDFieldName, getRouteLocator, isBuildOutputIndex, setBuildOutputIndex, setInputFeatureClassByRef, setInputFeatureSelectionByRef, setInputMeasureFieldName, setInputRouteIDFieldName, setRouteLocatorByRef |
Method Detail |
---|
void setRouteFeatureClassByRef(IFeatureClass featureClass) throws IOException, AutomationException
featureClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFeatureClass getRouteFeatureClass() throws IOException, AutomationException
Use this property instead of IRouteMeasureCalibrator::RouteLocator. When using this property, you must also specify the RouteIDFieldName.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRouteFeatureSelectionByRef(ISelectionSet selection) throws IOException, AutomationException
selection
- A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISelectionSet getRouteFeatureSelection() throws IOException, AutomationException
If you use this method, there is no need to specify the RouteFeatureClass (as it is implied). You still must set the RouteIDFieldName, however.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRouteIDFieldName(String fieldName) throws IOException, AutomationException
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getRouteIDFieldName() throws IOException, AutomationException
Use this property with the RouteFeatureClass (or RouteFeatureSelection) properties.
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 |