|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.networkanalyst.NAServerServiceAreaParams
public class NAServerServiceAreaParams
Deprecated as of 10.0. A container for the service area solver settings and return parameters used by NAServer.
At version 10.1, ArcGIS for Server no longer supports performing network analysis via local connections using the GISServer and GISClient APIs. Use the SOAP or REST API instead.
NAServerServiceAreaParams is used to pass solver settings and return parameters to the NAServer when performing stateless network analysis.
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.networkanalyst.INASolverSettings2 |
---|
IID, IIDd3696546_2831_4aa5_a879_acd66e50a938, xxDummy |
Fields inherited from interface com.esri.arcgis.networkanalyst.INASolverSettings |
---|
IID5a8dc105_0e57_45c8_a01d_0188ce7f7b52 |
Constructor Summary | |
---|---|
NAServerServiceAreaParams()
Constructs a NAServerServiceAreaParams using ArcGIS Engine. |
|
NAServerServiceAreaParams(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NAServerServiceAreaParams theNAServerServiceAreaParams = (NAServerServiceAreaParams) obj; |
Method Summary | |
---|---|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(Object o)
Compare this object with another |
IStringArray |
getAccumulateAttributeNames()
The collection of network attribute names to be accumulated with the analysis. |
Object |
getAttributeParameterValue(String attributeName,
String paramName)
The value to use for an attribute parameter within the network dataset. |
INAServerLocations |
getBarriers()
RecordSet or array of PropertySets representing Barriers loaded as network locations during analysis. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
IDoubleArray |
getDefaultBreaks()
The default break(s) of the traversal. |
IStringArray |
getExcludeSourcesFromPolygons()
A collection of network source names to NOT use when generating polygons. |
INAServerLocations |
getFacilities()
RecordSet or array of PropertySets representing Facilities loaded as network locations during analysis. |
String |
getHierarchyAttributeName()
The name of the hierarchy attribute to be used in analysis. |
int |
getHierarchyLevelCount()
The number of levels in the hierarchy attribute. |
IImageDescription |
getImageDescription()
ImageDescription used when generating the MapImage returned with the analysis results. |
String |
getImpedanceAttributeName()
The network attribute name to be used as the impedance attribute in analysis. |
String |
getLayerToken()
Token identifying the network analysis layer on the server to use. |
IMapDescription |
getMapDescription()
MapDescription used when generating the MapImage returned with the analysis results. |
double |
getMaxSnapTolerance()
Maximum search tolerance used when attempting to load network locations. |
int |
getMaxValueForHierarchy(int level)
The maximum value of the hierarchy attribute. |
String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
INAClassCandidateFieldMap[] |
getNAClassCandidateFieldMaps()
Array of NAClassCandidateFieldMaps . |
String |
getNALayerName()
Network analysis layer name. |
int |
getNumTransitionToHierarchy(int toLevel)
The number of lower level junctions to explore before searching the next hierarchy level. |
Object |
getOutputGeometryPrecision()
Specifies the precision of the output geometry after generalization. |
int |
getOutputGeometryPrecisionUnits()
Specifies the units of the output geometry precision. |
int |
getOutputLines()
The type of line(s) generated. |
int |
getOutputPolygons()
The type of polygon(s) generated. |
ISpatialReference |
getOutputSpatialReference()
Spatial reference of the geometries returned with the analysis results. |
INAServerLocations |
getPolygonBarriers()
RecordSet or array of PropertySets representing polygon Barriers loaded as network locations during analysis. |
INAServerLocations |
getPolylineBarriers()
RecordSet or array of PropertySets representing polyline Barriers loaded as network locations during analysis. |
IStringArray |
getRestrictionAttributeNames()
The collection of network attribute names to be used as restrictions with the analysis. |
int |
getRestrictUTurns()
Indicates how U-Turns should be restricted in the analysis. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
double |
getSnapTolerance()
Minimum search tolerance used when attempting to load network locations. |
int |
getSnapToleranceUnits()
Length units of the SnapTolerance and MaxSnapTolerance. |
Date |
getTimeOfDay()
The date-time value used in time-aware solvers. |
int |
getTimeOfDayUsage()
The usage type for the TimeOfDay property. |
int |
getTravelDirection()
The direction of the traversal. |
double |
getTrimPolygonDistance()
If polygons are being trimmed, provides the distance to trim. |
int |
getTrimPolygonDistanceUnits()
If polygons are being trimmed, provides the units of the distance to trim. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isCreateTraversalResult()
Indicates if a traversal result is created. |
void |
isDirty()
isDirty |
boolean |
isIgnoreInvalidLocations()
Indicates if invalid locations should be ignored or raise an error. |
boolean |
isIncludeSourceInformationOnLines()
Indicates if the lines will have SourceID, SourceOID, from and to position information added. |
boolean |
isMergeSimilarPolygonRanges()
Indicates if similar ranges should be merged in the result polygons. |
boolean |
isOverlapLines()
Indicates if lines should overlap from multiple facilities. |
boolean |
isOverlapPolygons()
Indicates if the polygons for all facilities should not overlap. |
boolean |
isResetHierarchyRangesOnBind()
Indicates if the hierarchy ranges will be reset to the network dataset's hierarchy settings when the solver is bound. |
boolean |
isReturnBarriers()
Indicates if the output barriers recordset should be returned with the analysis results. |
boolean |
isReturnFacilities()
Indicates if the output facilities recordset should be returned with the analysis results. |
boolean |
isReturnMap()
Indicates if a MapImage should be generated and returned with the analysis results. |
boolean |
isReturnPartialResultsOnError()
Indicates if the result object should be returned even if an error was generated during the solve operation. |
boolean |
isReturnPolygonBarriers()
Indicates if the output polygon barriers recordset should be returned with the analysis results. |
boolean |
isReturnPolylineBarriers()
Indicates if the output polyline barriers recordset should be returned with the analysis results. |
boolean |
isReturnSALineGeometries()
Indicates if the SALine geometries should be generated and returned with the analysis results. |
boolean |
isReturnSALines()
Indicates if the output SALines recordset should be returned with the analysis results. |
boolean |
isReturnSAPolygonGeometries()
Indicates if the SAPolygon geometries should be generated and returned with the analysis results. |
boolean |
isReturnSAPolygons()
Indicates if the output SAPolygons recordset should be returned with the analysis results. |
boolean |
isSaveLayerOnServer()
Indicates if the resulting analysis layer should be saved on the server. |
boolean |
isSplitLinesAtBreaks()
Indicates if lines should be split at breaks. |
boolean |
isSplitPolygonsAtBreaks()
Indicates if polygons should be split at break values. |
boolean |
isTrimOuterPolygon()
Indicates if the outermost polygon (at the maximum break value) will be trimmed. |
boolean |
isUseHierarchy()
Indicates if the hierarchy attribute for the network should be used in analysis. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setAccumulateAttributeNamesByRef(IStringArray attributeNames)
The collection of network attribute names to be accumulated with the analysis. |
void |
setAttributeParameterValue(String attributeName,
String paramName,
Object value)
The value to use for an attribute parameter within the network dataset. |
void |
setBarriersByRef(INAServerLocations barriers)
RecordSet or array of PropertySets representing Barriers loaded as network locations during analysis. |
void |
setCreateTraversalResult(boolean value)
Indicates if a traversal result is created. |
void |
setDefaultBreaks(IDoubleArray value)
The default break(s) of the traversal. |
void |
setExcludeSourcesFromPolygons(IStringArray networkSourceNames)
A collection of network source names to NOT use when generating polygons. |
void |
setFacilitiesByRef(INAServerLocations facilities)
RecordSet or array of PropertySets representing Facilities loaded as network locations during analysis. |
void |
setHierarchyAttributeName(String attributeName)
The name of the hierarchy attribute to be used in analysis. |
void |
setHierarchyLevelCount(int count)
The number of levels in the hierarchy attribute. |
void |
setIgnoreInvalidLocations(boolean ignoreInvalidLocations)
Indicates if invalid locations should be ignored or raise an error. |
void |
setImageDescriptionByRef(IImageDescription imageDescription)
ImageDescription used when generating the MapImage returned with the analysis results. |
void |
setImpedanceAttributeName(String attributeName)
The network attribute name to be used as the impedance attribute in analysis. |
void |
setIncludeSourceInformationOnLines(boolean value)
Indicates if the lines will have SourceID, SourceOID, from and to position information added. |
void |
setLayerToken(String layerToken)
Token identifying the network analysis layer on the server to use. |
void |
setMapDescriptionByRef(IMapDescription mapDescription)
MapDescription used when generating the MapImage returned with the analysis results. |
void |
setMaxSnapTolerance(double maxSnapTolerance)
Maximum search tolerance used when attempting to load network locations. |
void |
setMaxValueForHierarchy(int level,
int value)
The maximum value of the hierarchy attribute. |
void |
setMergeSimilarPolygonRanges(boolean value)
Indicates if similar ranges should be merged in the result polygons. |
void |
setNAClassCandidateFieldMaps(INAClassCandidateFieldMap[] ppNAClassCandidateFieldMaps)
Array of NAClassCandidateFieldMaps . |
void |
setNALayerName(String nALayerName)
Network analysis layer name. |
void |
setNumTransitionToHierarchy(int toLevel,
int value)
The number of lower level junctions to explore before searching the next hierarchy level. |
void |
setOutputGeometryPrecision(Object pValue)
Specifies the precision of the output geometry after generalization. |
void |
setOutputGeometryPrecisionUnits(int pValue)
Specifies the units of the output geometry precision. |
void |
setOutputLines(int value)
The type of line(s) generated. |
void |
setOutputPolygons(int value)
The type of polygon(s) generated. |
void |
setOutputSpatialReferenceByRef(ISpatialReference spatialReference)
Spatial reference of the geometries returned with the analysis results. |
void |
setOverlapLines(boolean value)
Indicates if lines should overlap from multiple facilities. |
void |
setOverlapPolygons(boolean value)
Indicates if the polygons for all facilities should not overlap. |
void |
setPolygonBarriersByRef(INAServerLocations barriers)
RecordSet or array of PropertySets representing polygon Barriers loaded as network locations during analysis. |
void |
setPolylineBarriersByRef(INAServerLocations barriers)
RecordSet or array of PropertySets representing polyline Barriers loaded as network locations during analysis. |
void |
setResetHierarchyRangesOnBind(boolean value)
Indicates if the hierarchy ranges will be reset to the network dataset's hierarchy settings when the solver is bound. |
void |
setRestrictionAttributeNamesByRef(IStringArray attributeName)
The collection of network attribute names to be used as restrictions with the analysis. |
void |
setRestrictUTurns(int backtrack)
Indicates how U-Turns should be restricted in the analysis. |
void |
setReturnBarriers(boolean returnBarriers)
Indicates if the output barriers recordset should be returned with the analysis results. |
void |
setReturnFacilities(boolean returnFacilities)
Indicates if the output facilities recordset should be returned with the analysis results. |
void |
setReturnMap(boolean returnMap)
Indicates if a MapImage should be generated and returned with the analysis results. |
void |
setReturnPartialResultsOnError(boolean returnPartialResultsOnError)
Indicates if the result object should be returned even if an error was generated during the solve operation. |
void |
setReturnPolygonBarriers(boolean returnBarriers)
Indicates if the output polygon barriers recordset should be returned with the analysis results. |
void |
setReturnPolylineBarriers(boolean returnBarriers)
Indicates if the output polyline barriers recordset should be returned with the analysis results. |
void |
setReturnSALineGeometries(boolean returnSALineGeometries)
Indicates if the SALine geometries should be generated and returned with the analysis results. |
void |
setReturnSALines(boolean returnSALines)
Indicates if the output SALines recordset should be returned with the analysis results. |
void |
setReturnSAPolygonGeometries(boolean returnSAPolygonGeometries)
Indicates if the SAPolygon geometries should be generated and returned with the analysis results. |
void |
setReturnSAPolygons(boolean returnSAPolygons)
Indicates if the output SAPolygons recordset should be returned with the analysis results. |
void |
setSaveLayerOnServer(boolean saveLayerOnServer)
Indicates if the resulting analysis layer should be saved on the server. |
void |
setSnapTolerance(double snapTolerance)
Minimum search tolerance used when attempting to load network locations. |
void |
setSnapToleranceUnits(int snapToleranceUnits)
Length units of the SnapTolerance and MaxSnapTolerance. |
void |
setSplitLinesAtBreaks(boolean value)
Indicates if lines should be split at breaks. |
void |
setSplitPolygonsAtBreaks(boolean value)
Indicates if polygons should be split at break values. |
void |
setTimeOfDay(Date timeOfDay)
The date-time value used in time-aware solvers. |
void |
setTimeOfDayUsage(int timeOfDayUsage)
The usage type for the TimeOfDay property. |
void |
setTravelDirection(int value)
The direction of the traversal. |
void |
setTrimOuterPolygon(boolean value)
Indicates if the outermost polygon (at the maximum break value) will be trimmed. |
void |
setTrimPolygonDistance(double distance)
If polygons are being trimmed, provides the distance to trim. |
void |
setTrimPolygonDistanceUnits(int units)
If polygons are being trimmed, provides the units of the distance to trim. |
void |
setUseHierarchy(boolean useHierarchy)
Indicates if the hierarchy attribute for the network should be used in analysis. |
void |
writeExternal(ObjectOutput out)
|
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 NAServerServiceAreaParams() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic NAServerServiceAreaParams(Object obj) throws IOException
NAServerServiceAreaParams theNAServerServiceAreaParams = (NAServerServiceAreaParams) obj;
obj
to NAServerServiceAreaParams
.
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 setNALayerName(String nALayerName) throws IOException, AutomationException
NALayerName specifies the Network Analyst Layer Name used within this NAContext.
setNALayerName
in interface INAServerSolverParams
nALayerName
- The nALayerName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNALayerName() throws IOException, AutomationException
NALayerName specifies the Network Analyst Layer Name used within this NAContext.
getNALayerName
in interface INAServerSolverParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSnapTolerance(double snapTolerance) throws IOException, AutomationException
SnapTolerance specifies the minimum search tolerance used when finding network locations.
setSnapTolerance
in interface INAServerSolverParams
snapTolerance
- The snapTolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSnapTolerance() throws IOException, AutomationException
SnapTolerance specifies the minimum search tolerance used when finding network locations.
getSnapTolerance
in interface INAServerSolverParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxSnapTolerance(double maxSnapTolerance) throws IOException, AutomationException
MaxSnapTolerance specifies the maximum search tolerance used when finding network locations.
setMaxSnapTolerance
in interface INAServerSolverParams
maxSnapTolerance
- The maxSnapTolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMaxSnapTolerance() throws IOException, AutomationException
MaxSnapTolerance specifies the maximum search tolerance used when finding network locations.
getMaxSnapTolerance
in interface INAServerSolverParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSnapToleranceUnits(int snapToleranceUnits) throws IOException, AutomationException
SnapToleranceUnits specifies the units of the search tolerance in esriUnits type.
setSnapToleranceUnits
in interface INAServerSolverParams
snapToleranceUnits
- A com.esri.arcgis.system.esriUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSnapToleranceUnits() throws IOException, AutomationException
getSnapToleranceUnits
in interface INAServerSolverParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNAClassCandidateFieldMaps(INAClassCandidateFieldMap[] ppNAClassCandidateFieldMaps) throws IOException, AutomationException
NAClassCandidateFieldMaps specifies the candidate fields for each NAClass. These field maps are used when loading network locations to map input fields with NAClass fields.
setNAClassCandidateFieldMaps
in interface INAServerSolverParams
ppNAClassCandidateFieldMaps
- A reference to a com.esri.arcgis.networkanalyst.INAClassCandidateFieldMap array (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INAClassCandidateFieldMap[] getNAClassCandidateFieldMaps() throws IOException, AutomationException
NAClassCandidateFieldMaps specifies the candidate fields for each NAClass. These field maps are used when loading network locations to map input fields with NAClass fields.
getNAClassCandidateFieldMaps
in interface INAServerSolverParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReturnMap(boolean returnMap) throws IOException, AutomationException
ReturnMap specifies if the map is returned by the solve.
setReturnMap
in interface INAServerSolverParams
returnMap
- The returnMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReturnMap() throws IOException, AutomationException
ReturnMap specifies if the map is returned by the solve.
isReturnMap
in interface INAServerSolverParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapDescriptionByRef(IMapDescription mapDescription) throws IOException, AutomationException
MapDescription specifies the MapDescription object to use when drawing the map with the analysis results.
setMapDescriptionByRef
in interface INAServerSolverParams
mapDescription
- A reference to a com.esri.arcgis.carto.IMapDescription (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMapDescription getMapDescription() throws IOException, AutomationException
MapDescription specifies the MapDescription object to use when drawing the map with the analysis results.
getMapDescription
in interface INAServerSolverParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setImageDescriptionByRef(IImageDescription imageDescription) throws IOException, AutomationException
Specifies the ImageDescription used when creating maps during solve. Setting the Width and Height of the output map to be 200x200 pixels would look something like:
routeParams.ImageDescription.Display.Width = 200
routeParams.ImageDescription.Display.Height = 200
setImageDescriptionByRef
in interface INAServerSolverParams
imageDescription
- A reference to a com.esri.arcgis.carto.IImageDescription (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IImageDescription getImageDescription() throws IOException, AutomationException
Specifies the ImageDescription used when creating maps during solve. Setting the Width and Height of the output map to be 200x200 pixels would look something like:
routeParams.ImageDescription.Display.Width = 200
routeParams.ImageDescription.Display.Height = 200
getImageDescription
in interface INAServerSolverParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutputSpatialReferenceByRef(ISpatialReference spatialReference) throws IOException, AutomationException
OutputSpatialReference specifies the spatial reference of the resulting geometry arrays returned from Solve. This does not change the spatial reference of the recordsets returned which are in the spatial reference of the network dataset.
setOutputSpatialReferenceByRef
in interface INAServerSolverParams
spatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getOutputSpatialReference() throws IOException, AutomationException
OutputSpatialReference specifies the spatial reference of the resulting geometry arrays returned from Solve. This does not change the spatial reference of the recordsets returned which are in the spatial reference of the network dataset.
getOutputSpatialReference
in interface INAServerSolverParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReturnPartialResultsOnError(boolean returnPartialResultsOnError) throws IOException, AutomationException
ReturnPartialResultsOnError: in cases when Solve fails, it allows to get available results objects back. For example, if less than two Stops were located, Route Solve operation can still return NAServerRouteResults object with Stops recordset populated.
setReturnPartialResultsOnError
in interface INAServerSolverParams2
returnPartialResultsOnError
- The returnPartialResultsOnError (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReturnPartialResultsOnError() throws IOException, AutomationException
isReturnPartialResultsOnError
in interface INAServerSolverParams2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSaveLayerOnServer(boolean saveLayerOnServer) throws IOException, AutomationException
SaveLayerOnServer indicates if the network analysis layer should be saved on server for future reuse. If True, the NAServerSolverResults.LayerToken property will contain token assigned to the saved layer on server. In order to reuse this layer, set returned token value on NAServerSolverParams.LayerToken in subsequent requests.
setSaveLayerOnServer
in interface INAServerSolverParams2
saveLayerOnServer
- The saveLayerOnServer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSaveLayerOnServer() throws IOException, AutomationException
isSaveLayerOnServer
in interface INAServerSolverParams2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayerToken(String layerToken) throws IOException, AutomationException
LayerToken contains token corresponding to an existing network analysis layer saved on the server to use during Solve rather than the default network analysis layer. The token value to use can be retrieved from NAServerSolverResults.LayerToken that was returned from a previous call to Solve with NAServerSolverParams.SaveLayerOnServer set to True.
setLayerToken
in interface INAServerSolverParams2
layerToken
- The layerToken (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLayerToken() throws IOException, AutomationException
getLayerToken
in interface INAServerSolverParams2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFacilitiesByRef(INAServerLocations facilities) throws IOException, AutomationException
Facilities specifies an instance of NAServerLocations class to use as input when solving a service area problem.
setFacilitiesByRef
in interface INAServerServiceAreaParams
facilities
- A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INAServerLocations getFacilities() throws IOException, AutomationException
getFacilities
in interface INAServerServiceAreaParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBarriersByRef(INAServerLocations barriers) throws IOException, AutomationException
Barriers specifies an instance of NAServerLocations class to use in order to restrict or alter the impedance of network elements.
setBarriersByRef
in interface INAServerServiceAreaParams
barriers
- A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INAServerLocations getBarriers() throws IOException, AutomationException
getBarriers
in interface INAServerServiceAreaParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReturnSALineGeometries(boolean returnSALineGeometries) throws IOException, AutomationException
ReturnSALineGeometries specifies if the resulting SALineGeometries are returned.
setReturnSALineGeometries
in interface INAServerServiceAreaParams
returnSALineGeometries
- The returnSALineGeometries (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReturnSALineGeometries() throws IOException, AutomationException
isReturnSALineGeometries
in interface INAServerServiceAreaParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReturnSALines(boolean returnSALines) throws IOException, AutomationException
ReturnSALines specifies if the resulting SALines features are returned.
setReturnSALines
in interface INAServerServiceAreaParams
returnSALines
- The returnSALines (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReturnSALines() throws IOException, AutomationException
isReturnSALines
in interface INAServerServiceAreaParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReturnSAPolygonGeometries(boolean returnSAPolygonGeometries) throws IOException, AutomationException
ReturnSAPolygonGeometries specifies if the resulting SAPolygonGeometries are returned.
setReturnSAPolygonGeometries
in interface INAServerServiceAreaParams
returnSAPolygonGeometries
- The returnSAPolygonGeometries (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReturnSAPolygonGeometries() throws IOException, AutomationException
isReturnSAPolygonGeometries
in interface INAServerServiceAreaParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReturnSAPolygons(boolean returnSAPolygons) throws IOException, AutomationException
ReturnSAPolygons specifies if the resulting SAPolygon features are returned.
setReturnSAPolygons
in interface INAServerServiceAreaParams
returnSAPolygons
- The returnSAPolygons (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReturnSAPolygons() throws IOException, AutomationException
isReturnSAPolygons
in interface INAServerServiceAreaParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReturnFacilities(boolean returnFacilities) throws IOException, AutomationException
ReturnFacilities specifies if the resulting Facility features are returned.
setReturnFacilities
in interface INAServerServiceAreaParams
returnFacilities
- The returnFacilities (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReturnFacilities() throws IOException, AutomationException
isReturnFacilities
in interface INAServerServiceAreaParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReturnBarriers(boolean returnBarriers) throws IOException, AutomationException
ReturnBarriers specifies if the Barriers are returned.
setReturnBarriers
in interface INAServerServiceAreaParams
returnBarriers
- The returnBarriers (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReturnBarriers() throws IOException, AutomationException
isReturnBarriers
in interface INAServerServiceAreaParams
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPolylineBarriersByRef(INAServerLocations barriers) throws IOException, AutomationException
PolylineBarriers specifies an instance of NAServerLocations class to use in order to restrict or alter the impedance of network elements when solving a Service Area problem.
setPolylineBarriersByRef
in interface INAServerServiceAreaParams2
barriers
- A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INAServerLocations getPolylineBarriers() throws IOException, AutomationException
getPolylineBarriers
in interface INAServerServiceAreaParams2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPolygonBarriersByRef(INAServerLocations barriers) throws IOException, AutomationException
PolygonBarriers specifies an instance of NAServerLocations class to use in order to restrict or alter the impedance of network elements when solving a Service Area problem.
setPolygonBarriersByRef
in interface INAServerServiceAreaParams2
barriers
- A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INAServerLocations getPolygonBarriers() throws IOException, AutomationException
getPolygonBarriers
in interface INAServerServiceAreaParams2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReturnPolylineBarriers(boolean returnBarriers) throws IOException, AutomationException
ReturnPolylineBarriers specifies if the PolylineBarriers are returned.
setReturnPolylineBarriers
in interface INAServerServiceAreaParams2
returnBarriers
- The returnBarriers (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReturnPolylineBarriers() throws IOException, AutomationException
ReturnPolylineBarriers specifies if the PolylineBarriers are returned.
isReturnPolylineBarriers
in interface INAServerServiceAreaParams2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReturnPolygonBarriers(boolean returnBarriers) throws IOException, AutomationException
ReturnPolygonBarriers specifies if the PolygonBarriers are returned.
setReturnPolygonBarriers
in interface INAServerServiceAreaParams2
returnBarriers
- The returnBarriers (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReturnPolygonBarriers() throws IOException, AutomationException
ReturnPolygonBarriers specifies if the PolygonBarriers are returned.
isReturnPolygonBarriers
in interface INAServerServiceAreaParams2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStringArray getAccumulateAttributeNames() throws IOException, AutomationException
getAccumulateAttributeNames
in interface INASolverSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAccumulateAttributeNamesByRef(IStringArray attributeNames) throws IOException, AutomationException
setAccumulateAttributeNamesByRef
in interface INASolverSettings
attributeNames
- A reference to a com.esri.arcgis.system.IStringArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setImpedanceAttributeName(String attributeName) throws IOException, AutomationException
setImpedanceAttributeName
in interface INASolverSettings
attributeName
- The attributeName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getImpedanceAttributeName() throws IOException, AutomationException
getImpedanceAttributeName
in interface INASolverSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIgnoreInvalidLocations(boolean ignoreInvalidLocations) throws IOException, AutomationException
setIgnoreInvalidLocations
in interface INASolverSettings
ignoreInvalidLocations
- The ignoreInvalidLocations (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIgnoreInvalidLocations() throws IOException, AutomationException
isIgnoreInvalidLocations
in interface INASolverSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStringArray getRestrictionAttributeNames() throws IOException, AutomationException
getRestrictionAttributeNames
in interface INASolverSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRestrictionAttributeNamesByRef(IStringArray attributeName) throws IOException, AutomationException
setRestrictionAttributeNamesByRef
in interface INASolverSettings
attributeName
- A reference to a com.esri.arcgis.system.IStringArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRestrictUTurns(int backtrack) throws IOException, AutomationException
setRestrictUTurns
in interface INASolverSettings
backtrack
- A com.esri.arcgis.geodatabase.esriNetworkForwardStarBacktrack constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getRestrictUTurns() throws IOException, AutomationException
getRestrictUTurns
in interface INASolverSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseHierarchy(boolean useHierarchy) throws IOException, AutomationException
setUseHierarchy
in interface INASolverSettings
useHierarchy
- The useHierarchy (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseHierarchy() throws IOException, AutomationException
isUseHierarchy
in interface INASolverSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHierarchyAttributeName(String attributeName) throws IOException, AutomationException
setHierarchyAttributeName
in interface INASolverSettings
attributeName
- The attributeName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHierarchyAttributeName() throws IOException, AutomationException
getHierarchyAttributeName
in interface INASolverSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHierarchyLevelCount(int count) throws IOException, AutomationException
setHierarchyLevelCount
in interface INASolverSettings
count
- The count (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHierarchyLevelCount() throws IOException, AutomationException
getHierarchyLevelCount
in interface INASolverSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxValueForHierarchy(int level, int value) throws IOException, AutomationException
setMaxValueForHierarchy
in interface INASolverSettings
level
- The level (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaxValueForHierarchy(int level) throws IOException, AutomationException
getMaxValueForHierarchy
in interface INASolverSettings
level
- The level (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNumTransitionToHierarchy(int toLevel, int value) throws IOException, AutomationException
setNumTransitionToHierarchy
in interface INASolverSettings
toLevel
- The toLevel (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNumTransitionToHierarchy(int toLevel) throws IOException, AutomationException
getNumTransitionToHierarchy
in interface INASolverSettings
toLevel
- The toLevel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isResetHierarchyRangesOnBind() throws IOException, AutomationException
isResetHierarchyRangesOnBind
in interface INASolverSettings2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setResetHierarchyRangesOnBind(boolean value) throws IOException, AutomationException
setResetHierarchyRangesOnBind
in interface INASolverSettings2
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getAttributeParameterValue(String attributeName, String paramName) throws IOException, AutomationException
getAttributeParameterValue
in interface INASolverSettings2
attributeName
- The attributeName (in)paramName
- The paramName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAttributeParameterValue(String attributeName, String paramName, Object value) throws IOException, AutomationException
setAttributeParameterValue
in interface INASolverSettings2
attributeName
- The attributeName (in)paramName
- The paramName (in)value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTravelDirection() throws IOException, AutomationException
TravelDirection specifies if it is traveling from the facility (default) or traveling to the facility.
This can make a difference in the computed service area if there are oneway restrictions, turn restrictions, or different travel cost attributes for each side of the street in the network.
getTravelDirection
in interface INAServiceAreaSolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTravelDirection(int value) throws IOException, AutomationException
TravelDirection specifies if it is traveling from the facility (default) or traveling to the facility.
This can make a difference in the computed service area if there are oneway restrictions, turn restrictions, or different travel cost attributes for each side of the street in the network.
setTravelDirection
in interface INAServiceAreaSolver
value
- A com.esri.arcgis.networkanalyst.esriNATravelDirection constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDoubleArray getDefaultBreaks() throws IOException, AutomationException
DefaultBreaks specifies how many rings to compute around each facility.
The breaks are specified as a double array of numbers like 2.0, 4.0, 6.0. This will result in three polygons around the facility at 2.0, 4.0 and 6.0 cumulative attribute value units from each facility.
DefaultBreaks is considered “default” because it can be overridden on a feature-by-feature basis by the presence of a non-null value in the Breaks_<attribute name> field of an individual feature.
getDefaultBreaks
in interface INAServiceAreaSolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultBreaks(IDoubleArray value) throws IOException, AutomationException
DefaultBreaks specifies how many rings to compute around each facility.
The breaks are specified as a double array of numbers like 2.0, 4.0, 6.0. This will result in three polygons around the facility at 2.0, 4.0 and 6.0 cumulative attribute value units from each facility.
DefaultBreaks is considered “default” because it can be overridden on a feature-by-feature basis by the presence of a non-null value in the Breaks_<attribute name> field of an individual feature.
setDefaultBreaks
in interface INAServiceAreaSolver
value
- A reference to a com.esri.arcgis.system.IDoubleArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSplitPolygonsAtBreaks() throws IOException, AutomationException
SplitPolygonsAtBreaks specifies to the solver if the service area polygons will be split at the specified breaks. If they are not split, each break value gets a polygon starting from the start facility. If they are split at break values, then each polygon is like a donut (i.e., starts at the previous break value and ends at the next break value).
isSplitPolygonsAtBreaks
in interface INAServiceAreaSolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSplitPolygonsAtBreaks(boolean value) throws IOException, AutomationException
SplitPolygonsAtBreaks specifies to the solver if the service area polygons will be split at the specified breaks. If they are not split then each break value gets a polygon starting from the start facility. If they are split at break values, then each polygon is like a donut (i.e. starts at the previous break value and ends at the next break value).
setSplitPolygonsAtBreaks
in interface INAServiceAreaSolver
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOverlapLines() throws IOException, AutomationException
OverlapLines specifies if the service area lines of two or more facilities will overlap and return coincident features.
A break value of 3.0 minutes will return all of the lines that can be reached within 3.0 minutes of the facility. If OverlapLines is set to false then only the line to the closest facility will be returned. In cases where parts of a line correspond to different facilities, the single line will be split and the two resulting lines will be apportioned appropriately.
isOverlapLines
in interface INAServiceAreaSolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOverlapLines(boolean value) throws IOException, AutomationException
OverlapLines specifies if the service area lines of two or more facilities will overlap and return coincident features.
A break value of 3.0 minutes will return all of the lines that can be reached within 3.0 minutes of the facility. If OverlapLines is set to false then only the line to the closest facility will be returned. In cases where parts of a line correspond to different facilities, the single line will be split and the two resulting lines will be apportioned appropriately.
setOverlapLines
in interface INAServiceAreaSolver
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStringArray getExcludeSourcesFromPolygons() throws IOException, AutomationException
ExcludeSourcesFromPolygons specifies if certain network sources should be excluded from the service area polygon generation. A service area on a multi-modal network where only one mode is being used to compute the service area would get a more appropriate shape if other modes are excluded from the polygons.
getExcludeSourcesFromPolygons
in interface INAServiceAreaSolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExcludeSourcesFromPolygons(IStringArray networkSourceNames) throws IOException, AutomationException
ExcludeSourcesFromPolygons specifies if certain network sources should be excluded from the service area polygon generation. A service area on a multi-modal network where only one mode is being used to compute the service area would get a more appropriate shape if other modes are excluded from the polygons.
setExcludeSourcesFromPolygons
in interface INAServiceAreaSolver
networkSourceNames
- A reference to a com.esri.arcgis.system.IStringArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isMergeSimilarPolygonRanges() throws IOException, AutomationException
MergeSimillarPolygons specifies if polygons with same break values from different facilities should be merged together.
isMergeSimilarPolygonRanges
in interface INAServiceAreaSolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMergeSimilarPolygonRanges(boolean value) throws IOException, AutomationException
MergeSimillarPolygons specifies if polygons with same break values from different facilities should be merged together.
setMergeSimilarPolygonRanges
in interface INAServiceAreaSolver
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSplitLinesAtBreaks() throws IOException, AutomationException
SplitLinesAtBreaks specifies if the service area lines will be split at the break values.
A service area with a set of break values like 2.0, 4.0, 6.0 will normally only return each edge in the input network with its from and to cumulative cost attribute. If this property is set to true, service area lines are also split at the location where the actual value of the break is reached.
isSplitLinesAtBreaks
in interface INAServiceAreaSolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSplitLinesAtBreaks(boolean value) throws IOException, AutomationException
SplitLinesAtBreaks specifies if the service area lines will be split at the break values.
A service area with a set of break values like 2.0, 4.0, 6.0 will normally only return each edge in the input network with its from and to cumulative cost attribute. If this property is set to true, service area lines are also split at the location where the actual value of the break is reached.
setSplitLinesAtBreaks
in interface INAServiceAreaSolver
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getOutputPolygons() throws IOException, AutomationException
OutputPolygons specifies if the service area polygons should be generated or not.
If they are to be generated, it specifies the type of polygons to be generated. For example, the choice could be simplified, detailed, or none. The detailed option accurately models the service area lines and may contain islands of unreached areas. The simplified option runs faster but is not as accurate at some fringes.
getOutputPolygons
in interface INAServiceAreaSolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutputPolygons(int value) throws IOException, AutomationException
OutputPolygons specifies if the service area polygons should be generated or not.
If they are to be generated it specifies the type of polygons to be generated. For example, the choice could be simplified, detailed or none. The detailed option accurately models the service area lines and may contain islands of unreached areas. The simplified option runs faster but is not as accurate at some fringes.
setOutputPolygons
in interface INAServiceAreaSolver
value
- A com.esri.arcgis.networkanalyst.esriNAOutputPolygonType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getOutputLines() throws IOException, AutomationException
OutputLines specifies the type of lines to be generated by the service area solver. The choice is to the generate the lines with or without measures or to generate no lines.
getOutputLines
in interface INAServiceAreaSolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutputLines(int value) throws IOException, AutomationException
OutputLines specifies the type of lines to be generated by the service area solver. The choice is to the generate the lines with or without measures or to generate no lines.
setOutputLines
in interface INAServiceAreaSolver
value
- A com.esri.arcgis.networkanalyst.esriNAOutputLineType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOverlapPolygons(boolean value) throws IOException, AutomationException
If OverlapPolygons is true, service area polygons from multiple facilities may overlap. If set to false, the service area polygons generated will not overlap and each polygon will encompass the area reached by the closest facility.
setOverlapPolygons
in interface INAServiceAreaSolver2
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOverlapPolygons() throws IOException, AutomationException
If OverlapPolygons is true, service area polygons from multiple facilities may overlap. If set to false, the service area polygons generated will not overlap and each polygon will encompass the area reached by the closest facility.
isOverlapPolygons
in interface INAServiceAreaSolver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIncludeSourceInformationOnLines(boolean value) throws IOException, AutomationException
IncludeSourceInformationOnLines specifies if the SourceID, SourceOID, FromPosition and ToPosition fields on the SALines feature class will be populated or not. If this property is set to true, you can use these fields on the SALines to determine the source features and position along the feature that were part of the service area.
setIncludeSourceInformationOnLines
in interface INAServiceAreaSolver2
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIncludeSourceInformationOnLines() throws IOException, AutomationException
IncludeSourceInformationOnLines specifies if the SourceID, SourceOID, FromPosition and ToPosition fields on the SALines feature class will be populated or not. If this property is set to true, you can use these fields on the SALines to determine the source features and position along the feature that were part of the service area.
isIncludeSourceInformationOnLines
in interface INAServiceAreaSolver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTrimOuterPolygon(boolean value) throws IOException, AutomationException
If this is true, the outer polygon will be adjusted to be within the TrimPolygonDistance of the source features. It is used to make the outer ring more cartographically pleasing by shrinking it to within a specified distance. This operation is not the same as clipping or buffering.
Small values for TrimPolygonDistance will increase processing time and may result in unusual looking polygons.
setTrimOuterPolygon
in interface INAServiceAreaSolver2
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isTrimOuterPolygon() throws IOException, AutomationException
If this is true, the outer polygon will be adjusted to be within the TrimPolygonDistance of the source features. It is used to make the outer ring more cartographically pleasing by shrinking it to within a specified distance. This operation is not the same as clipping or buffering.
Small values for TrimPolygonDistance will increase processing time and may result in unusual looking polygons.
isTrimOuterPolygon
in interface INAServiceAreaSolver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTrimPolygonDistance(double distance) throws IOException, AutomationException
TrimPolygonDistance specifies the distance (based on units specified by TrimPolygonDistanceUnits) that the outer service area polygon should be from the source features. This is useful to reduce the area of the outer service area polygon in sparse networks.
setTrimPolygonDistance
in interface INAServiceAreaSolver2
distance
- The distance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getTrimPolygonDistance() throws IOException, AutomationException
TrimPolygonDistance specifies the distance (based on units specified by TrimPolygonDistanceUnits) that the outer service area polygon should be from the source features. This is useful to reduce the area of the outer service area polygon in sparse networks.
getTrimPolygonDistance
in interface INAServiceAreaSolver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTrimPolygonDistanceUnits(int units) throws IOException, AutomationException
TrimPolygonDistanceUnits specifies the length units used by TrimPolygonDistance to specify the distance the outer service area polygon should be from the source features. This is useful to reduce the area of the outer service area polygon in sparse networks.
setTrimPolygonDistanceUnits
in interface INAServiceAreaSolver2
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 getTrimPolygonDistanceUnits() throws IOException, AutomationException
TrimPolygonDistanceUnits specifies the length units used by TrimPolygonDistance, which in turn limits the distance of the outer service-area polygon from the source features. This is useful to reduce the area of the outer service area polygon in sparse networks.
getTrimPolygonDistanceUnits
in interface INAServiceAreaSolver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCreateTraversalResult(boolean value) throws IOException, AutomationException
setCreateTraversalResult
in interface INAServiceAreaSolver2
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCreateTraversalResult() throws IOException, AutomationException
isCreateTraversalResult
in interface INAServiceAreaSolver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutputGeometryPrecision(Object pValue) throws IOException, AutomationException
The precision of the output geometry after generalization.
See IPolyCurve.Generalize for information on the generalization technique that is utilized by INASolverOutputGeneralization.
setOutputGeometryPrecision
in interface INASolverOutputGeneralization
pValue
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getOutputGeometryPrecision() throws IOException, AutomationException
getOutputGeometryPrecision
in interface INASolverOutputGeneralization
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutputGeometryPrecisionUnits(int pValue) throws IOException, AutomationException
The length units that the OutputGeometryPrecision are in. If unknown, the units are assumed to be the same as the spatial reference of the geometries.
See IPolyCurve.Generalize for information on the generalization technique that is utilized by INASolverOutputGeneralization.
setOutputGeometryPrecisionUnits
in interface INASolverOutputGeneralization
pValue
- A com.esri.arcgis.system.esriUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getOutputGeometryPrecisionUnits() throws IOException, AutomationException
getOutputGeometryPrecisionUnits
in interface INASolverOutputGeneralization
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Date getTimeOfDay() throws IOException, AutomationException
getTimeOfDay
in interface INATimeAwareSolverSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTimeOfDay(Date timeOfDay) throws IOException, AutomationException
TimeOfDay, in conjunction with TimeOfDayUsage, provides the time input to time-aware solvers. The time value is considered local time.
setTimeOfDay
in interface INATimeAwareSolverSettings
timeOfDay
- The timeOfDay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTimeOfDayUsage() throws IOException, AutomationException
getTimeOfDayUsage
in interface INATimeAwareSolverSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTimeOfDayUsage(int timeOfDayUsage) throws IOException, AutomationException
TimeOfDayUsage specifies how TimeOfDay is used by the solver. Please see esriNATimeOfDayUsage for a description of the possible usage types.
setTimeOfDayUsage
in interface INATimeAwareSolverSettings
timeOfDayUsage
- A com.esri.arcgis.networkanalyst.esriNATimeOfDayUsage constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
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.public String getMinNamespaceSupported() throws IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |