|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRouteMeasureCreator2
Provides access to the route creation properties and methods.
The IRouteMeasureCreator2 interface allows you to create route features at a feature class level.
Routes can be created from a line feature class in three different ways depending on how the measures are to be set.
The InputFeatureClass property is used to set the line feature class the routes are to be created from. The InputRouteIDFieldName property is used to specify the field name from the input feature class from which lines will be aggregated to compose a route.
If not all of the line features are desired for route creation, the InputFeatureSelection property can be used to specify an ISelectionSet.
The methods on this interface improve upon those on IRouteMeasureCreator. A measure factor can be applied to the measure values. This is useful for converting between measure units. For example, to convert from feet to miles, you would specify a factor of 0.00018939394.
Measure values can also be offset. This is useful when you want your output routes to have a minimum measure other than 0.
Method Summary | |
---|---|
IEnumBSTR |
createUsing2Fields2(String fmFieldName,
String tmFieldName,
double factor,
double offset,
IFeatureClassName outputFClassName,
IGeometryDef outputGeometryDef,
String configKeyword,
ITrackCancel trackCancel)
Create routes from polylines using two fields. |
IEnumBSTR |
createUsingCoordinatePriority2(String lengthFieldName,
double factor,
double offset,
int seedingCorner,
boolean ignoreGaps,
IFeatureClassName outputFClassName,
IGeometryDef outputGeometryDef,
String configKeyword,
ITrackCancel trackCancel)
Create routes from using topology. |
Methods inherited from interface com.esri.arcgis.location.IRouteMeasureCreator |
---|
createUsing2Fields, createUsingCoordinatePriority, createUsingPoints, getInputFeatureClass, getInputFeatureSelection, getInputRouteIDFieldName, isBuildOutputIndex, setBuildOutputIndex, setInputFeatureClassByRef, setInputFeatureSelectionByRef, setInputRouteIDFieldName |
Method Detail |
---|
IEnumBSTR createUsing2Fields2(String fmFieldName, String tmFieldName, double factor, double offset, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, String configKeyword, ITrackCancel trackCancel) throws IOException, AutomationException
fmFieldName
- The fmFieldName (in)tmFieldName
- The tmFieldName (in)factor
- The factor (in)offset
- The offset (in)outputFClassName
- A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)outputGeometryDef
- A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)configKeyword
- The configKeyword (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumBSTR createUsingCoordinatePriority2(String lengthFieldName, double factor, double offset, int seedingCorner, boolean ignoreGaps, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, String configKeyword, ITrackCancel trackCancel) throws IOException, AutomationException
lengthFieldName
- The lengthFieldName (in)factor
- The factor (in)offset
- The offset (in)seedingCorner
- A com.esri.arcgis.location.esriMSeedingCorner constant (in)ignoreGaps
- The ignoreGaps (in)outputFClassName
- A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)outputGeometryDef
- A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)configKeyword
- The configKeyword (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (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 |