com.esri.arcgis.datasourcesfile
Interface ISMFlagCreator2

All Superinterfaces:
ISMFlagCreator, Serializable
All Known Implementing Classes:
ISMFlagCreator2Proxy, SMFlagCreator

public interface ISMFlagCreator2
extends ISMFlagCreator, Serializable

Provides access to SMFlag search tolerance.

Product Availability

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


Method Summary
 double getSearchTolerance()
          Defines maximum allowed distance in miles from stop location to closest street segment when creating a flag.
 void setSearchTolerance(double pVal)
          Defines maximum allowed distance in miles from stop location to closest street segment when creating a flag.
 
Methods inherited from interface com.esri.arcgis.datasourcesfile.ISMFlagCreator
createFlag, createFlagDirection, createFlagDirectionAdv
 

Method Detail

getSearchTolerance

double getSearchTolerance()
                          throws IOException,
                                 AutomationException
Defines maximum allowed distance in miles from stop location to closest street segment when creating a flag.

Description

The default value is 0.1554 (250 meters).

Product Availability

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

Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSearchTolerance

void setSearchTolerance(double pVal)
                        throws IOException,
                               AutomationException
Defines maximum allowed distance in miles from stop location to closest street segment when creating a flag.

Product Availability

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

Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.