public class UGCNetworkAnalyst3DProvider extends java.lang.Object implements NetworkAnalyst3DProvider, Disposable, ProviderContextAware
SuperMap 3D network analysis service provider.
UGCNetworkAnalyst3DProvider provides SuperMap 3D network analysis of related services, encapsulates with SuperMap 3D network analysis related to GIS functions.
Constructor and Description |
---|
UGCNetworkAnalyst3DProvider() |
UGCNetworkAnalyst3DProvider(UGCNetworkAnalyst3DSetting setting) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Release the resource object.
|
FacilityAnalyst3DResult |
findCriticalFacilitiesUpFromEdge(int[] sourceNodeIDs, int edgeID, FacilityAnalystParameter parameter)
Upstream key facility lookup, that is, find the key facility nodes in the upstream of a given arc, return the key node ID array and its downstream arc ID array.
|
FacilityAnalyst3DResult |
findCriticalFacilitiesUpFromNode(int[] sourceNodeIDs, int nodeID, FacilityAnalystParameter parameter)
Upstream key facility lookup, that is, find the key facility nodes in the upstream of a given node, return the key node ID array and its downstream arc ID array.
|
FacilityAnalyst3DResult |
findSinkFromEdge(int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given arc ID to find the sink, that is, starting from a given arc, find out the downstream sinks that outflow the arc according to the flow, and returns the arc, point and cost which the specified arc reach to the sink the minimum path contains.
|
FacilityAnalyst3DResult |
findSinkFromNode(int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given node ID to find the sink, that is, from a given node, find out the downstream sinks that outflow the node according to the flow, and returns the arc, point and cost which the specified arc reach to the sink the minimum path contains.
|
FacilityAnalyst3DResult |
findSourceFromEdge(int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given arc ID to find the source, that is, starting from a given arc, find out the network source that flow to the arc according to the flow, and returns the arc, point and cost which the specified source reach to the specified arc the minimum path contains.
|
FacilityAnalyst3DResult |
findSourceFromNode(int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given node ID to find the source, that is, from a given node, find the network source that flow to the node according to the flow , and returns the arc, nodes and cost that the source node reach to the specified node the minimum cost path contains .
|
FacilityAnalyst3DContent |
getContent()
Gets the content information of the network data.
|
java.lang.String |
getNetworkDataName()
Gets the network data name.
|
boolean |
reloadModel()
Reloads the network data model.
|
void |
setProviderContext(ProviderContext context)
Sets the service provider context
|
FacilityAnalyst3DResult |
traceDownFromEdge(int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given arc ID for downstream tracking, that is, to find downstream of a given arc, returns the arc, node and total cost which downstream contains.
|
FacilityAnalyst3DResult |
traceDownFromNode(int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given node ID for downstream tracking, that is, to find downstream of a given arc, returns the arc, node and total cost which downstream contains.
|
FacilityAnalyst3DResult |
traceUpFromEdge(int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given arc ID for upstream tracking, that is, to find upstream of a given arc, returns the arc, node and total cost which upstream contains.
|
FacilityAnalyst3DResult |
traceUpFromNode(int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given node ID for upstream tracking, that is, to find upstream of a given arc, returns the arc, node and total cost which upstream contains.
|
public UGCNetworkAnalyst3DProvider()
public UGCNetworkAnalyst3DProvider(UGCNetworkAnalyst3DSetting setting)
public void setProviderContext(ProviderContext context)
ProviderContextAware
Sets the service provider context
setProviderContext
in interface ProviderContextAware
context
- service provider contextpublic void dispose()
Disposable
Release the resource object.
dispose
in interface Disposable
public FacilityAnalyst3DResult findCriticalFacilitiesUpFromEdge(int[] sourceNodeIDs, int edgeID, FacilityAnalystParameter parameter)
NetworkAnalyst3DProvider
Upstream key facility lookup, that is, find the key facility nodes in the upstream of a given arc, return the key node ID array and its downstream arc ID array.
findCriticalFacilitiesUpFromEdge
in interface NetworkAnalyst3DProvider
sourceNodeIDs
- Specified facility node ID array can not be empty.edgeID
- Specified analysis arc ID.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult findCriticalFacilitiesUpFromNode(int[] sourceNodeIDs, int nodeID, FacilityAnalystParameter parameter)
NetworkAnalyst3DProvider
Upstream key facility lookup, that is, find the key facility nodes in the upstream of a given node, return the key node ID array and its downstream arc ID array.
findCriticalFacilitiesUpFromNode
in interface NetworkAnalyst3DProvider
sourceNodeIDs
- Specified facility node ID array can not be empty.nodeID
- The specified analysis node ID.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult findSinkFromEdge(int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3DProvider
According to the given arc ID to find the sink, that is, starting from a given arc, find out the downstream sinks that outflow the arc according to the flow, and returns the arc, point and cost which the specified arc reach to the sink the minimum path contains.
findSinkFromEdge
in interface NetworkAnalyst3DProvider
edgeID
- Specified analysis arc ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult findSinkFromNode(int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3DProvider
According to the given node ID to find the sink, that is, from a given node, find out the downstream sinks that outflow the node according to the flow, and returns the arc, point and cost which the specified arc reach to the sink the minimum path contains.
findSinkFromNode
in interface NetworkAnalyst3DProvider
nodeID
- The specified node ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult traceUpFromEdge(int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3DProvider
According to the given arc ID for upstream tracking, that is, to find upstream of a given arc, returns the arc, node and total cost which upstream contains.
traceUpFromEdge
in interface NetworkAnalyst3DProvider
edgeID
- Specified arc ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult traceUpFromNode(int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3DProvider
According to the given node ID for upstream tracking, that is, to find upstream of a given arc, returns the arc, node and total cost which upstream contains.
traceUpFromNode
in interface NetworkAnalyst3DProvider
nodeID
- The specified node ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult traceDownFromEdge(int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3DProvider
According to the given arc ID for downstream tracking, that is, to find downstream of a given arc, returns the arc, node and total cost which downstream contains.
traceDownFromEdge
in interface NetworkAnalyst3DProvider
edgeID
- Specified arc ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult traceDownFromNode(int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3DProvider
According to the given node ID for downstream tracking, that is, to find downstream of a given arc, returns the arc, node and total cost which downstream contains.
traceDownFromNode
in interface NetworkAnalyst3DProvider
nodeID
- The specified node ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult findSourceFromEdge(int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3DProvider
According to the given arc ID to find the source, that is, starting from a given arc, find out the network source that flow to the arc according to the flow, and returns the arc, point and cost which the specified source reach to the specified arc the minimum path contains.
findSourceFromEdge
in interface NetworkAnalyst3DProvider
edgeID
- Specified arc ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult findSourceFromNode(int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3DProvider
According to the given node ID to find the source, that is, from a given node, find the network source that flow to the node according to the flow , and returns the arc, nodes and cost that the source node reach to the specified node the minimum cost path contains .
findSourceFromNode
in interface NetworkAnalyst3DProvider
nodeID
- The specified node ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public boolean reloadModel()
NetworkAnalyst3DProvider
Reloads the network data model.
reloadModel
in interface NetworkAnalyst3DProvider
public java.lang.String getNetworkDataName()
NetworkAnalyst3DProvider
Gets the network data name.
getNetworkDataName
in interface NetworkAnalyst3DProvider
public FacilityAnalyst3DContent getContent()
NetworkAnalyst3DProvider
Gets the content information of the network data.
getContent
in interface NetworkAnalyst3DProvider