|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.networkanalyst.NAODCostMatrixSolver
public class NAODCostMatrixSolver
Performs origin-destination matrix analysis.
NAODCostMatrixSolver is a Network Analyst solver that finds the shortest path distances between a set of origins and destinations. It can minimize the shortest path on any suitable cost attribute and write the results to an in-memory feature class, which can then be exported to a table. It has options to limit the number of destinations to compute from any origin by either specifying a maximum number of destinations to find or by specifying a cutoff value. For example, compute distances from a set of origins to, at the most, three destinations that are within 10 Km. It can also generate straight-line geometries connecting each origin-destination pair. The NAODCostMatrixSolver honors all of the settings of the INASolverSettings interface.
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.networkanalyst.INASolver |
---|
IID, IIDbfd9e9d5_cd3c_4f1c_b39d_40a4134e4b36, xxDummy |
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 | |
---|---|
NAODCostMatrixSolver()
Constructs a NAODCostMatrixSolver using ArcGIS Engine. |
|
NAODCostMatrixSolver(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NAODCostMatrixSolver theNAODCostMatrixSolver = (NAODCostMatrixSolver) obj; |
Method Summary | |
---|---|
void |
bind(INAContext context,
IDENetworkDataset network,
IGPMessages messages)
Re-associate the solver with the given network dataset and its schema. |
INAContext |
createContext(IDENetworkDataset network,
String name)
Creates the analysis context for the solver. |
INetworkForwardStarEx |
createForwardStar(INAContext context,
boolean isForwardTraversal)
Creates a network dataset forward star which honors the current solver settings as well as any barriers. |
INALayer |
createLayer(INAContext context)
Makes a new network analysis layer for the solver context. |
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. |
INamedSet |
getClassDefinitions()
The inputs and outputs defined by the solver. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
Object |
getDefaultCutoff()
The default cutoff value to stop traversing. |
Object |
getDefaultTargetDestinationCount()
The default number of destinations to find. |
String |
getDisplayName()
The display name of the solver. |
String |
getHierarchyAttributeName()
The name of the hierarchy attribute to be used in analysis. |
int |
getHierarchyLevelCount()
The number of levels in the hierarchy attribute. |
String |
getImpedanceAttributeName()
The network attribute name to be used as the impedance attribute in analysis. |
int |
getMatrixResultType()
Indicates the type of matrix result to be created. |
int |
getMaxValueForHierarchy(int level)
The maximum value of the hierarchy attribute. |
String |
getName()
The name of the solver. |
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()
Indicates how lines are generated. |
IPropertySet |
getProperties()
The properties for the solver. |
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 |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isCanAccumulateAttributes()
Indicates if the solver supports using accumulate network attributes. |
boolean |
isCanUseHierarchy()
Indicates if the solver supports using a hierarchy network attribute. |
void |
isDirty()
isDirty |
boolean |
isIgnoreInvalidLocations()
Indicates if invalid locations should be ignored or raise an error. |
boolean |
isPopulateODLines()
Indicates if the ODLines class is to be populated. |
boolean |
isResetHierarchyRangesOnBind()
Indicates if the hierarchy ranges will be reset to the network dataset's hierarchy settings when the solver is bound. |
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 |
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 |
setDefaultCutoff(Object value)
The default cutoff value to stop traversing. |
void |
setDefaultTargetDestinationCount(Object value)
The default number of destinations to find. |
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 |
setImpedanceAttributeName(String attributeName)
The network attribute name to be used as the impedance attribute in analysis. |
void |
setMatrixResultType(int type)
Indicates the type of matrix result to be created. |
void |
setMaxValueForHierarchy(int level,
int value)
The maximum value of the hierarchy attribute. |
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)
Indicates how lines are generated. |
void |
setPopulateODLines(boolean value)
Indicates if the ODLines class is to be populated. |
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 |
setUseHierarchy(boolean useHierarchy)
Indicates if the hierarchy attribute for the network should be used in analysis. |
boolean |
solve(INAContext nAContext,
IGPMessages messages,
ITrackCancel trackCancel)
Perform the network analysis and construct results. |
void |
updateContext(INAContext nAContext,
IDENetworkDataset network,
IGPMessages messages)
Update the analysis context for the solver. |
boolean |
updateLayer(INALayer layer)
Updates the layer and indicates if the layer was updated. |
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 NAODCostMatrixSolver() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic NAODCostMatrixSolver(Object obj) throws IOException
NAODCostMatrixSolver theNAODCostMatrixSolver = (NAODCostMatrixSolver) obj;
obj
to NAODCostMatrixSolver
.
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 String getName() throws IOException, AutomationException
getName
in interface INASolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDisplayName() throws IOException, AutomationException
getDisplayName
in interface INASolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INamedSet getClassDefinitions() throws IOException, AutomationException
getClassDefinitions
in interface INASolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanUseHierarchy() throws IOException, AutomationException
isCanUseHierarchy
in interface INASolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanAccumulateAttributes() throws IOException, AutomationException
isCanAccumulateAttributes
in interface INASolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getProperties() throws IOException, AutomationException
getProperties
in interface INASolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INALayer createLayer(INAContext context) throws IOException, AutomationException
createLayer
in interface INASolver
context
- A reference to a com.esri.arcgis.networkanalyst.INAContext (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean updateLayer(INALayer layer) throws IOException, AutomationException
updateLayer
in interface INASolver
layer
- A reference to a com.esri.arcgis.networkanalyst.INALayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean solve(INAContext nAContext, IGPMessages messages, ITrackCancel trackCancel) throws IOException, AutomationException
solve
in interface INASolver
nAContext
- A reference to a com.esri.arcgis.networkanalyst.INAContext (in)messages
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (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.public INAContext createContext(IDENetworkDataset network, String name) throws IOException, AutomationException
createContext
in interface INASolver
network
- A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateContext(INAContext nAContext, IDENetworkDataset network, IGPMessages messages) throws IOException, AutomationException
updateContext
in interface INASolver
nAContext
- A reference to a com.esri.arcgis.networkanalyst.INAContext (in)network
- A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset (in)messages
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void bind(INAContext context, IDENetworkDataset network, IGPMessages messages) throws IOException, AutomationException
bind
in interface INASolver
context
- A reference to a com.esri.arcgis.networkanalyst.INAContext (in)network
- A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset (in)messages
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
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 Object getDefaultTargetDestinationCount() throws IOException, AutomationException
DefaultTargetDestinationCount specifies the number of destinations to find for the NAODCostMatrixSolver. For example, solving for 10 destinations will return the cost-distance to the 10 closest destinations from each origin.
DefaultTargetDestinationCount is considered “default” because it can be overridden on a feature-by-feature basis by the presence of a non-null value in the TargetDestinationCount field of an individual feature.
DefaultTargetDestinationCount, if not NULL, can be cast as an integer. It is returned as an object/variant in order to allow a NULL value to be used to specify an unlimited default destination count. A DefaultTargetDestinationCount of NULL indicates that a path will be found, if possible, between every origin and every destination.
If a specific origin feature has a non-null value in the TargetDestinationCount field of its NAClass, this value will override the DefaultTargetDestinationCount for that origin.
If an attempt is made to set the DefaultTargetDestinationCount to a non-integer value, it will be rounded to the nearest integer.
getDefaultTargetDestinationCount
in interface INAODCostMatrixSolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultTargetDestinationCount(Object value) throws IOException, AutomationException
DefaultTargetDestinationCount specifies the number of destinations to find for the NAODCostMatrixSolver. For example, solving for 10 destinations will return the cost-distance to the 10 closest destinations from each origin.
DefaultTargetDestinationCount is considered “default” because it can be overridden on a feature-by-feature basis by the presence of a non-null value in the TargetDestinationCount field of an individual feature.
DefaultTargetDestinationCount, if not NULL, can be cast as an integer. It is returned as an object/variant in order to allow a NULL value to be used to specify an unlimited default destination count. A DefaultTargetDestinationCount of NULL indicates that a path will be found, if possible, between every origin and every destination.
If a specific origin feature has a non-null value in the TargetDestinationCount field of its NAClass, this value will override the DefaultTargetDestinationCount for that origin.
If an attempt is made to set the DefaultTargetDestinationCount to a non-integer value, it will be rounded to the nearest integer.
setDefaultTargetDestinationCount
in interface INAODCostMatrixSolver
value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDefaultCutoff() throws IOException, AutomationException
DefaultCutoff specifies how far to search for the destinations around each origin. For example, setting a default cutoff of 10 miles will only return those destinations within 10 miles from each origin.
DefaultCutoff is considered “default” because it can be overridden on a feature-by-feature basis by the presence of a non-null value in the Cutoff_<attribute name> field of an individual feature.
DefaultCutoff, if not NULL, can be cast as a double. It is returned as an object/variant in order to allow a NULL to be used to specify no default cutoff value. A DefaultCutoff of zero indicates a search distance of zero. A DefaultCutoff of NULL indicates an unlimited search distance.
getDefaultCutoff
in interface INAODCostMatrixSolver
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultCutoff(Object value) throws IOException, AutomationException
DefaultCutoff specifies how far to search for the destinations around each origin. For example, setting a default cutoff of 10 miles will only return those destinations within 10 miles from each origin.
DefaultCutoff is considered “default” because it can be overridden on a feature-by-feature basis by the presence of a non-null value in the Cutoff_<attribute name> field of an individual feature.
DefaultCutoff, if not NULL, can be cast as a double. It is returned as an object/variant in order to allow a NULL to be used to specify no default cutoff value. A DefaultCutoff of zero indicates a search distance of zero. A DefaultCutoff of NULL indicates an unlimited search distance.
setDefaultCutoff
in interface INAODCostMatrixSolver
value
- A Variant (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 that are generated by the NAODCostMatrixSolver object.
The only two valid line types for a NAODCostMatrixSolver are esriNAOutputLineNone or esriNAOutputLineStraight. The determined path from an origin to a destination is a true network path, but the only allowed representation of that path is a straight line or no lines at all.
getOutputLines
in interface INAODCostMatrixSolver
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 that are generated by the NAODCostMatrixSolver object.
The type can be straight lines connecting the origins and destinations or no lines.
setOutputLines
in interface INAODCostMatrixSolver
value
- A com.esri.arcgis.networkanalyst.esriNAOutputLineType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMatrixResultType() throws IOException, AutomationException
Specifies what type of a cost matrix is created during a solve.
If the solver is set to produce a matrix (either esriNAODCostMatrixFull or esriNAODCostMatrixUpdate), make sure that the PopulateODLines property is set to False as only one of these can be populated by the solver.
getMatrixResultType
in interface INAODCostMatrixSolver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMatrixResultType(int type) throws IOException, AutomationException
Specifies what type of a cost matrix is created during a solve.
If the solver is set to produce a matrix (either esriNAODCostMatrixFull or esriNAODCostMatrixUpdate), make sure that the PopulateODLines property is set to False as only one these can be populated by the solver.
setMatrixResultType
in interface INAODCostMatrixSolver2
type
- A com.esri.arcgis.networkanalyst.esriNAODCostMatrixType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPopulateODLines() throws IOException, AutomationException
Specifies if the solver should populate the ODLines output analysis class on solve.
If this is set to True, make sure that the MatrixResultType property is set to esriNAODCostMatrixNone as only one of these can be populated by the solver.
isPopulateODLines
in interface INAODCostMatrixSolver2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPopulateODLines(boolean value) throws IOException, AutomationException
Returns true if the solver is set to populated the ODLines output analysis layer. If this is set true then the Matrix Result type cannot be populated. That is, the solver can either populate the ODLines or the Matrix result type.
Specifies if the solver should populate the ODLines output analyis class on solve.
If this is set to True, make sure that the MatrixResultType property is set to esriNAODCostMatrixNone as only one these can be populated by the solver.
setPopulateODLines
in interface INAODCostMatrixSolver2
value
- The value (in)
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.
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.
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 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 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 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 INetworkForwardStarEx createForwardStar(INAContext context, boolean isForwardTraversal) throws IOException, AutomationException
CreateForwardStar will generate a NetworkForwardStar object prepared with the settings specified on the current solver and the INAContext that is passed in. The returned NetworkForwardStar object will have the INetworkForwardStarEx::IsForwardTraversal value set to match the value of the IsForwardTraversal Boolean that is passed in to CreateForwardStar.
createForwardStar
in interface INASolverForwardStar
context
- A reference to a com.esri.arcgis.networkanalyst.INAContext (in)isForwardTraversal
- The isForwardTraversal (in)
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 |