:Associate with "Network Analysis Library Functions" More...
:Associate with "Network Analysis Library Functions"
| INT32 MnetworkAllocatedCenterGet | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| int | position | |||
| ) |
Get allocated center at specified position as node value from array of allocated centers.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| position | Position of the allocated center |
| int MnetworkAllocatedCenterGetAverageImpedance | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| int | position, | |||
| DOUBLE * | average | |||
| ) |
Get average impedance of allocated center at specified position.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| position | Position of the allocated center | |
| average | Average impedance value returned |
| int MnetworkAllocatedCenterGetCapacity | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| int | position, | |||
| DOUBLE * | capacity | |||
| ) |
Get capacity of allocated center at specified position.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| position | Position of the allocated center | |
| capacity | Capacity value returned |
| int MnetworkAllocatedCenterGetColor | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| int | position, | |||
| COLOR * | color | |||
| ) |
Get color of allocated center at specified position.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| position | Position of the allocated center | |
| color | Color value returned |
| int MnetworkAllocatedCenterGetDemand | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| int | position, | |||
| DOUBLE * | demand | |||
| ) |
Get demand of allocated center at specified position.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| position | Position of the allocated center | |
| demand | Demand value returned |
| int MnetworkAllocatedCenterGetImpedanceDelay | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| int | position, | |||
| DOUBLE * | delay | |||
| ) |
Get impedance delay of allocated center at specified position.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| position | Position of the allocated center | |
| delay | Impedance delay value returned |
| int MnetworkAllocatedCenterGetImpedanceLimit | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| int | position, | |||
| DOUBLE * | limit | |||
| ) |
Get impedance limit of allocated center at specified position.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| position | Position of the allocated center | |
| limit | Impedance limit value returned |
| int MnetworkAllocatedCenterGetMaximumImpedance | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| int | position, | |||
| DOUBLE * | maximum | |||
| ) |
Get maximum impedance of allocated center at specified position.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| position | Position of the allocated center | |
| maximum | Maximum impedance value returned |
| INT32 MnetworkAllocatedCenterGetNumber | ( | MNETWORKALLOCATIONHANDLE | allocationHandle | ) |
Get number of allocated centers.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function |
| INT32 MnetworkAllocatedCenterGetNumberOfLines | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| int | position | |||
| ) |
Get number of lines assigned to allocated center at specified position.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| position | Position of the allocated center |
| int MnetworkAllocatedCenterGetPosition | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| INT32 | node | |||
| ) |
Get position of node in array of allocated centers.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| node | Node value |
| INT32 MnetworkAllocatedLineGetNumber | ( | MNETWORKALLOCATIONHANDLE | allocationHandle | ) |
Get number of lines that was used for allocation.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function |
| int MnetworkAllocatedLineGetPosition | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| INT32 | line | |||
| ) |
Get position of allocated center than assigned given line.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| line | Line value |
| int MnetworkAllocationFree | ( | MNETWORKALLOCATIONHANDLE * | allocationHandle | ) |
Free allocation handle.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function |
| int MnetworkAllocationGetReport | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| MIUNICODE ** | report | |||
| ) |
Get simple report.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| report | Report as unicode string allocated and returned |
| int MnetworkAllocationGetResultAsPositions | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| INT32 ** | positions, | |||
| INT32 * | numPositions | |||
| ) |
Get array of positions of allocated centers for every line.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| positions | Positions array | |
| numPositions | Size of positions array |
| int MnetworkAllocationGetType | ( | MNETWORKALLOCATIONHANDLE | allocationHandle | ) |
Get type of allocation.
Type of allocation: NETWORK_ALLOCATION_In NETWORK_ALLOCATION_Out
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function |
| int MnetworkAllocationRestoreCenter | ( | MNETWORKALLOCATIONHANDLE | allocationHandle, | |
| MNETWORKCENTERHANDLE * | centerHandle | |||
| ) |
Restore center handle that was used to generate given allocation.
| allocationHandle | Handle returned by MnetworkCenterCalculateAllocation function | |
| centerHandle | Handle returned by MnetworkMainCreateCenter function |
| int MnetworkAngleApply | ( | MNETWORKHANDLE | handle | ) |
Apply angle impedance array to entire network as turn impedance.
| handle | Handle returned by MnetworkMainInit function |
| int MnetworkAngleGetImpedance | ( | MNETWORKHANDLE | handle, | |
| int | angle, | |||
| DOUBLE * | impedance | |||
| ) |
Get impedance for given turn.
| handle | Handle returned by MnetworkMainInit function | |
| angle | Turn angle from range [-179,+180] | |
| impedance | Impedance for given turn angle |
| int MnetworkAngleIsUpdated | ( | MNETWORKHANDLE | handle | ) |
Is angle impedance array updated.
| handle | Handle returned by MnetworkMainInit function |
| int MnetworkAngleSetImpedance | ( | MNETWORKHANDLE | handle, | |
| int | angle, | |||
| DOUBLE | impedance | |||
| ) |
Set impedance for given turn.
| handle | Handle returned by MnetworkMainInit function | |
| angle | Turn angle from range [-179,+180] | |
| impedance | Impedance for given turn angle |
| int MnetworkBarrierIsUpdated | ( | MNETWORKHANDLE | handle | ) |
Is barrier states updated.
| handle | Handle returned by MnetworkMainInit function |
| int MnetworkCalculateMultiRoute | ( | MNETWORKHANDLE | handle, | |
| INT32 | source, | |||
| INT32 * | destinations, | |||
| INT32 | numDestinations, | |||
| MNETWORKROUTEHANDLE * | multiRouteHandle | |||
| ) |
Calculate multiroutes from source node to all destination nodes.
| handle | Handle returned by MnetworkMainInit function | |
| source | Source node | |
| destinations | Destination nodes array | |
| numDestinations | Number of destination nodes | |
| multiRouteHandle | Handle that represents result of multirouting |
| int MnetworkCenterAdd | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| INT32 | node | |||
| ) |
Add node to center array.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| node | Node value |
| int MnetworkCenterCalculateAllocation | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| int | type, | |||
| MNETWORKALLOCATIONHANDLE * | allocationHandle | |||
| ) |
Calculate allocation for given center array.
Type of allocation: NETWORK_ALLOCATION_In NETWORK_ALLOCATION_Out
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| type | Type of allocation | |
| allocationHandle | Handle that represents result of allocation |
| int MnetworkCenterClone | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| MNETWORKCENTERHANDLE * | cloneCenterHandle | |||
| ) |
Clone given center array.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| cloneCenterHandle | Clone handle |
| int MnetworkCenterDelete | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| int * | positions, | |||
| int | numPositions | |||
| ) |
Delete centers at specified positions.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| positions | Array of positions | |
| numPositions | Number of positions in array |
| int MnetworkCenterDeleteAll | ( | MNETWORKCENTERHANDLE | centerHandle | ) |
Delete all centers.
| centerHandle | Handle returned by MnetworkMainCreateCenter function |
| int MnetworkCenterFree | ( | MNETWORKCENTERHANDLE * | centerHandle | ) |
Free center array handle.
| centerHandle | Handle returned by MnetworkMainCreateCenter function |
| INT32 MnetworkCenterGet | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| int | position | |||
| ) |
Get center at specified position as node value from array of centers.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| position | Position of the center |
| int MnetworkCenterGetAll | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| INT32 ** | nodes, | |||
| INT32 * | numNodes | |||
| ) |
Get center array as nodes.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| nodes | Nodes array allocated and returned | |
| numNodes | Number of nodes in array |
| int MnetworkCenterGetCapacity | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| int | position, | |||
| DOUBLE * | capacity | |||
| ) |
Get capacity of center at specified position.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| position | Position of the center | |
| capacity | Capacity value returned |
| int MnetworkCenterGetColor | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| int | position, | |||
| COLOR * | color | |||
| ) |
Get color of center at specified position.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| position | Position of the center | |
| color | Color value returned |
| int MnetworkCenterGetImpedanceDelay | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| int | position, | |||
| DOUBLE * | delay | |||
| ) |
Get impedance delay of center at specified position.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| position | Position of the center | |
| delay | Impedance delay value returned |
| int MnetworkCenterGetImpedanceLimit | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| int | position, | |||
| DOUBLE * | limit | |||
| ) |
Get impedance limit of center at specified position.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| position | Position of the center | |
| limit | Impedance limit value returned |
| int MnetworkCenterGetNumber | ( | MNETWORKCENTERHANDLE | centerHandle | ) |
Get number of centers.
| centerHandle | Handle returned by MnetworkMainCreateCenter function |
| int MnetworkCenterGetPosition | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| INT32 | node | |||
| ) |
Get position of node in array of centers.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| node | Node value |
| int MnetworkCenterGetTableNames | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| RVC::OBJECTNAME ** | tablename, | |||
| INT32 * | tablecount | |||
| ) |
Get array of database table names that contains saved center array information.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| tablename | "Center" tables names array allocated and returned | |
| tablecount | Number of names in array |
| int MnetworkCenterIsTable | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| const RVC::OBJECTNAME & | tablename | |||
| ) |
Is there "center" table name.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| tablename | Table name |
| int MnetworkCenterIsUpdated | ( | MNETWORKCENTERHANDLE | centerHandle | ) |
Is centers array updated.
| centerHandle | Handle returned by MnetworkMainCreateCenter function |
| int MnetworkCenterOpenTable | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| const RVC::OBJECTNAME & | tablename | |||
| ) |
Open "center" table.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| tablename | Table name to open |
| int MnetworkCenterSaveTable | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| RVC::OBJECTNAME & | tablename | |||
| ) |
Save "center" table.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| tablename | Table name to save |
| int MnetworkCenterSetCapacity | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| int | position, | |||
| DOUBLE | capacity | |||
| ) |
Set capacity of center at specified position.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| position | Position of the center | |
| capacity | Capacity value to set |
| int MnetworkCenterSetColor | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| int | position, | |||
| COLOR * | color | |||
| ) |
Set color of center at specified position.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| position | Position of the center | |
| color | Color value to set |
| int MnetworkCenterSetImpedanceDelay | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| int | position, | |||
| DOUBLE | delay | |||
| ) |
Set impedance delay of center at specified position.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| position | Position of the center | |
| delay | Impedance delay value to set |
| int MnetworkCenterSetImpedanceLimit | ( | MNETWORKCENTERHANDLE | centerHandle, | |
| int | position, | |||
| DOUBLE | limit | |||
| ) |
Set impedance limit of center at specified position.
| centerHandle | Handle returned by MnetworkMainCreateCenter function | |
| position | Position of the center | |
| limit | Impedance limit value to set |
| INT32 MnetworkLineGetClosest | ( | MNETWORKHANDLE | handle, | |
| DPOINT2D * | point, | |||
| DOUBLE | radius | |||
| ) |
Get closest line to given point.
| handle | Handle returned by MnetworkMainInit function | |
| point | Point of interest in vector object coordinates | |
| radius | Radius of interest in vector object coordinates |
| int MnetworkLineGetDemand | ( | MNETWORKHANDLE | handle, | |
| INT32 | line, | |||
| DOUBLE * | demand | |||
| ) |
Get demand of specified line.
| handle | Handle returned by MnetworkMainInit function | |
| line | Line | |
| demand | Demand value returned |
| int MnetworkLineGetDirectionState | ( | MNETWORKHANDLE | handle, | |
| INT32 | line, | |||
| int | direction, | |||
| int * | state | |||
| ) |
Get direction state of specified line.
Direction on line: NETWORK_LINE_DIRECTION_FromTo NETWORK_LINE_DIRECTION_ToFrom
State of line: NETWORK_LINE_DIRECTION_Disable NETWORK_LINE_DIRECTION_Enable
| handle | Handle returned by MnetworkMainInit function | |
| line | Line | |
| direction | Direction on line | |
| state | State of line returned |
| int MnetworkLineGetImpedance | ( | MNETWORKHANDLE | handle, | |
| INT32 | line, | |||
| int | direction, | |||
| DOUBLE * | impedance | |||
| ) |
Get impedance of specified line.
Direction on line: NETWORK_LINE_DIRECTION_FromTo NETWORK_LINE_DIRECTION_ToFrom
| handle | Handle returned by MnetworkMainInit function | |
| line | Line | |
| direction | Direction on line | |
| impedance | Impedance value of line returned |
| int MnetworkLineGetName | ( | MNETWORKHANDLE | handle, | |
| INT32 | line, | |||
| MIUNICODE * | name, | |||
| int | size | |||
| ) |
Get name of specified line.
| handle | Handle returned by MnetworkMainInit function | |
| line | Line | |
| name | Unicode name of line returned (buffer should be allocated) | |
| size | Size of allocated buffer in unicode characters |
| INT32 MnetworkLineGetNodeFrom | ( | MNETWORKHANDLE | handle, | |
| INT32 | line | |||
| ) |
Get start node of specified line.
| handle | Handle returned by MnetworkMainInit function | |
| line | Line |
| INT32 MnetworkLineGetNodeTo | ( | MNETWORKHANDLE | handle, | |
| INT32 | line | |||
| ) |
Get end node of specified line.
| handle | Handle returned by MnetworkMainInit function | |
| line | Line |
| INT32 MnetworkLineGetNumber | ( | MNETWORKHANDLE | handle | ) |
Get number of lines in network.
| handle | Handle returned by MnetworkMainInit function |
| int MnetworkLineIsUpdated | ( | MNETWORKHANDLE | handle | ) |
Is attributes of lines updated.
| handle | Handle returned by MnetworkMainInit function |
| int MnetworkLineSetDemand | ( | MNETWORKHANDLE | handle, | |
| INT32 | line, | |||
| DOUBLE | demand | |||
| ) |
Set demand of specified line.
| handle | Handle returned by MnetworkMainInit function | |
| line | Line | |
| demand | Demand value to set |
| int MnetworkLineSetDirectionState | ( | MNETWORKHANDLE | handle, | |
| INT32 | line, | |||
| int | direction, | |||
| int | state | |||
| ) |
Set direction state of specified line.
Direction on line: NETWORK_LINE_DIRECTION_FromTo NETWORK_LINE_DIRECTION_ToFrom
State of line: NETWORK_LINE_DIRECTION_Disable NETWORK_LINE_DIRECTION_Enable
| handle | Handle returned by MnetworkMainInit function | |
| line | Line | |
| direction | Direction on line | |
| state | State of line to set |
| int MnetworkLineSetImpedance | ( | MNETWORKHANDLE | handle, | |
| INT32 | line, | |||
| int | direction, | |||
| DOUBLE | impedance | |||
| ) |
Set impedance of specified line.
Direction on line: NETWORK_LINE_DIRECTION_FromTo NETWORK_LINE_DIRECTION_ToFrom
| handle | Handle returned by MnetworkMainInit function | |
| line | Line | |
| direction | Direction on line | |
| impedance | Impedance value to set |
| int MnetworkMainCreateCenter | ( | MNETWORKHANDLE | handle, | |
| MNETWORKCENTERHANDLE * | centerHandle | |||
| ) |
Create center handle to maintain centers array.
| handle | Handle returned by MnetworkMainInit function | |
| centerHandle | Center handle to maintain centers array |
| int MnetworkMainCreateStop | ( | MNETWORKHANDLE | handle, | |
| MNETWORKSTOPHANDLE * | stopHandle | |||
| ) |
Create stop handle to maintain stops array.
| handle | Handle returned by MnetworkMainInit function | |
| stopHandle | Stop handle to maintain stops array |
| int MnetworkMainFree | ( | MNETWORKHANDLE * | handle | ) |
Free all resources associated with network.
| handle | Handle returned by MnetworkMainInit function |
| int MnetworkMainGetTableNames | ( | MNETWORKHANDLE | handle, | |
| RVC::OBJECTNAME ** | tablename, | |||
| INT32 * | tablecount, | |||
| UINT32 | tabletype | |||
| ) |
Get databases table names array associated with this network by specific type.
Network related table types: NETWORK_TABLE_Line NETWORK_TABLE_Turn NETWORK_TABLE_Barrier NETWORK_TABLE_Angle
| handle | Handle returned by MnetworkMainInit function | |
| tablename | Table name array allocated and returned | |
| tablecount | Size of table name array | |
| tabletype | Type of "network related" table |
| int MnetworkMainInit | ( | MNETWORKHANDLE * | handle, | |
| const RVC::OBJITEM & | VectObjItem | |||
| ) |
Init all resources associated with network.
| handle | Handle associated with network returned | |
| VectObjItem | OBJITEM of network vector object |
| int MnetworkMainIsTable | ( | MNETWORKHANDLE | handle, | |
| const RVC::OBJECTNAME & | tablename, | |||
| UINT32 | tabletype | |||
| ) |
Is there "network related" table name.
Network related table types: NETWORK_TABLE_Line NETWORK_TABLE_Turn NETWORK_TABLE_Barrier NETWORK_TABLE_Angle
| handle | Handle returned by MnetworkMainInit function | |
| tablename | Table name to check | |
| tabletype | Type of "network related" table |
| int MnetworkMainReadTable | ( | MNETWORKHANDLE | handle, | |
| const RVC::OBJECTNAME & | tablename, | |||
| UINT32 | tabletype | |||
| ) |
Read "network related" table.
Network related table types: NETWORK_TABLE_Line NETWORK_TABLE_Turn NETWORK_TABLE_Barrier NETWORK_TABLE_Angle
| handle | Handle returned by MnetworkMainInit function | |
| tablename | Table name to read | |
| tabletype | Type of "network related" table |
| int MnetworkMainSetDefault | ( | MNETWORKHANDLE | handle | ) |
Set all resources to default.
| handle | Handle returned by MnetworkMainInit function |
| int MnetworkMainSetLineNameAsCallback | ( | MNETWORKHANDLE | handle, | |
| MnetworkLineNameCallbackFunc | cbfunc, | |||
| void * | cbdata | |||
| ) |
Set line name as returned by callback.
| handle | Handle returned by MnetworkMainInit function | |
| cbfunc | Function that will defines line name | |
| cbdata | Data that will be passed to callback as argument |
| int MnetworkMainSetLineNameAsTableAndField | ( | MNETWORKHANDLE | handle, | |
| RVC::OBJECTNAME & | tablename, | |||
| RVC::OBJECTNAME & | fieldname | |||
| ) |
Set line name as database field.
| handle | Handle returned by MnetworkMainInit function | |
| tablename | Table name | |
| fieldname | Field name |
| int MnetworkMainWriteTable | ( | MNETWORKHANDLE | handle, | |
| RVC::OBJECTNAME & | tablename, | |||
| UINT32 | tabletype | |||
| ) |
Write "network related" table.
Network related table types: NETWORK_TABLE_Line NETWORK_TABLE_Turn NETWORK_TABLE_Barrier NETWORK_TABLE_Angle
| handle | Handle returned by MnetworkMainInit function | |
| tablename | Table name to write, RETURNED if table created | |
| tabletype | Type of "network related" table |
| int MnetworkMultiRouteFree | ( | MNETWORKMULTIROUTEHANDLE * | multiRouteHandle | ) |
Free multiroute handle.
| multiRouteHandle | Handle returned by MnetworkCalculateMultiRoute function |
| int MnetworkMultiRouteGetRoute | ( | MNETWORKMULTIROUTEHANDLE | multiRouteHandle, | |
| INT32 | destination, | |||
| MNETWORKROUTEHANDLE * | routeHandle | |||
| ) |
| multiRouteHandle | Handle returned by MnetworkCalculateMultiRoute function | |
| destination | Destination node | |
| routeHandle | Handle that represents result of routing |
| int MnetworkNodeGetBarrierState | ( | MNETWORKHANDLE | handle, | |
| INT32 | node, | |||
| int * | state | |||
| ) |
Get barrier state of specified node.
State of node: NETWORK_NODE_BARRIER_Off NETWORK_NODE_BARRIER_On
| handle | Handle returned by MnetworkMainInit function | |
| node | Node value | |
| state | State of node |
| INT32 MnetworkNodeGetClosest | ( | MNETWORKHANDLE | handle, | |
| DPOINT2D * | point, | |||
| DOUBLE | radius | |||
| ) |
Get closest node to given point.
| handle | Handle returned by MnetworkMainInit function | |
| point | Point of interest in vector object coordinates | |
| radius | Radius of interest in vector object coordinates |
| INT32 MnetworkNodeGetLine | ( | MNETWORKHANDLE | handle, | |
| INT32 | node, | |||
| int | position | |||
| ) |
Get line at specified position in incoming(outgoing) lines array for specified node.
| handle | Handle returned by MnetworkMainInit function | |
| node | Node value | |
| position | Position of line |
| int MnetworkNodeGetName | ( | MNETWORKHANDLE | handle, | |
| INT32 | node, | |||
| MIUNICODE * | name, | |||
| int | size | |||
| ) |
Get name of specified line (generated from line names).
| handle | Handle returned by MnetworkMainInit function | |
| node | Node value | |
| name | Name string | |
| size | Size of name string |
| INT32 MnetworkNodeGetNumber | ( | MNETWORKHANDLE | handle | ) |
Get number of nodes in network.
| handle | Handle returned by MnetworkMainInit function |
| int MnetworkNodeGetNumberOfLines | ( | MNETWORKHANDLE | handle, | |
| INT32 | node | |||
| ) |
Get number of incoming(outgoing) lines in lines array for specified node.
| handle | Handle returned by MnetworkMainInit function | |
| node | Node value |
| int MnetworkNodeSetBarrierState | ( | MNETWORKHANDLE | handle, | |
| INT32 | node, | |||
| int | state | |||
| ) |
Set barrier state of specified node.
State of node: NETWORK_NODE_BARRIER_Off NETWORK_NODE_BARRIER_On
| handle | Handle returned by MnetworkMainInit function | |
| node | Node value | |
| state | State of node |
| int MnetworkRouteFree | ( | MNETWORKROUTEHANDLE * | routeHandle | ) |
Free route handle.
| routeHandle | Handle returned by MnetworkStopCalculateRoute function |
| INT32 MnetworkRouteGetLine | ( | MNETWORKROUTEHANDLE | routeHandle, | |
| int | position | |||
| ) |
Get line at specified position.
| routeHandle | Handle returned by MnetworkStopCalculateRoute function | |
| position | Position of line in route |
| int MnetworkRouteGetLineDirection | ( | MNETWORKROUTEHANDLE | routeHandle, | |
| int | position | |||
| ) |
Get direction of line at specified position.
Direction on line: NETWORK_LINE_DIRECTION_FromTo NETWORK_LINE_DIRECTION_ToFrom
| routeHandle | Handle returned by MnetworkStopCalculateRoute function | |
| position | Position of line in route |
| INT32 MnetworkRouteGetNode | ( | MNETWORKROUTEHANDLE | routeHandle, | |
| int | position | |||
| ) |
Get node at specified position.
| routeHandle | Handle returned by MnetworkStopCalculateRoute function | |
| position | Position of node in route |
| INT32 MnetworkRouteGetNumberOfLines | ( | MNETWORKROUTEHANDLE | routeHandle | ) |
Get number of lines in route.
| routeHandle | Handle returned by MnetworkStopCalculateRoute function |
| INT32 MnetworkRouteGetNumberOfNodes | ( | MNETWORKROUTEHANDLE | routeHandle | ) |
Get number of nodes in route.
| int MnetworkRouteGetReport | ( | MNETWORKROUTEHANDLE | routeHandle, | |
| MIUNICODE ** | report | |||
| ) |
Get simple report.
| routeHandle | Handle returned by MnetworkStopCalculateRoute function | |
| report | Simple report allocated and returned |
| int MnetworkRouteGetResultAsLines | ( | MNETWORKROUTEHANDLE | routeHandle, | |
| INT32 ** | lines, | |||
| INT32 * | numLines | |||
| ) |
Get route as lines array.
| routeHandle | Handle returned by MnetworkStopCalculateRoute function | |
| lines | Lines array allocated and returned | |
| numLines | Number of lines in array |
| int MnetworkRouteGetResultAsNodes | ( | MNETWORKROUTEHANDLE | routeHandle, | |
| INT32 ** | nodes, | |||
| INT32 * | numNodes | |||
| ) |
Position of line in route.
| routeHandle | Handle returned by MnetworkStopCalculateRoute function | |
| nodes | Nodes array allocated and returned | |
| numNodes | Number of nodes in array |
| int MnetworkRouteGetResultAsPoints | ( | MNETWORKROUTEHANDLE | routeHandle, | |
| DPOINT2D ** | points, | |||
| INT32 * | numPoints | |||
| ) |
Get route as 2D point array in object coordinates.
| routeHandle | Handle returned by MnetworkStopCalculateRoute function | |
| points | 2D points array allocated and returned | |
| numPoints | Number of points in array |
| int MnetworkRouteIsNodeStop | ( | MNETWORKROUTEHANDLE | routeHandle, | |
| int | position | |||
| ) |
Position of line in route.
| routeHandle | Handle returned by MnetworkStopCalculateRoute function | |
| position | Position of node in route |
| int MnetworkRouteIsNodeTurn | ( | MNETWORKROUTEHANDLE | routeHandle, | |
| int | position | |||
| ) |
Is node at specified position a turn.
| routeHandle | Handle returned by MnetworkStopCalculateRoute function | |
| position | Position of node in route |
| int MnetworkRouteRestoreStop | ( | MNETWORKROUTEHANDLE | routeHandle, | |
| MNETWORKSTOPHANDLE * | stopHandle | |||
| ) |
Restore stop handle that was used to generate given route.
| routeHandle | Handle returned by MnetworkStopCalculateRoute function | |
| stopHandle | Handle returned by MnetworkMainCreateStop function |
| int MnetworkStopAdd | ( | MNETWORKSTOPHANDLE | stopHandle, | |
| INT32 | node, | |||
| int | position | |||
| ) |
Add node to stop array to specified position.
| stopHandle | Handle returned by MnetworkMainCreateStop function | |
| node | Node value | |
| position | Position to add |
| int MnetworkStopCalculateRoute | ( | MNETWORKSTOPHANDLE | stopHandle, | |
| MNETWORKROUTEHANDLE * | routeHandle | |||
| ) |
Calculate route for given stop array.
| stopHandle | Handle returned by MnetworkMainCreateStop function | |
| routeHandle | Handle that represents result of routing |
| int MnetworkStopClone | ( | MNETWORKSTOPHANDLE | stopHandle, | |
| MNETWORKSTOPHANDLE * | cloneStopHandle | |||
| ) |
Clone given stop array.
| stopHandle | Handle returned by MnetworkMainCreateStop function | |
| cloneStopHandle | Clone handle |
| int MnetworkStopDelete | ( | MNETWORKSTOPHANDLE | stopHandle, | |
| int * | positions, | |||
| int | numPositions | |||
| ) |
Delete stops at specified positions.
| stopHandle | Handle returned by MnetworkMainCreateStop function | |
| positions | Array of positions | |
| numPositions | Number of positions in array |
| int MnetworkStopDeleteAll | ( | MNETWORKSTOPHANDLE | stopHandle | ) |
Delete all stops.
| stopHandle | Handle returned by MnetworkMainCreateStop function |
| int MnetworkStopFree | ( | MNETWORKSTOPHANDLE * | stopHandle | ) |
Free stop array handle.
| stopHandle | Handle returned by MnetworkMainCreateStop function |
| INT32 MnetworkStopGet | ( | MNETWORKSTOPHANDLE | stopHandle, | |
| int | position | |||
| ) |
Get stop at specified position as node value from array of nodes.
| stopHandle | Handle returned by MnetworkMainCreateStop function | |
| position | Position of stop |
| int MnetworkStopGetAll | ( | MNETWORKSTOPHANDLE | stopHandle, | |
| INT32 ** | nodes, | |||
| INT32 * | numNodes | |||
| ) |
Get stop array as nodes.
| stopHandle | Handle returned by MnetworkMainCreateStop function | |
| nodes | Nodes array allocated and returned | |
| numNodes | Number of nodes in array |
| int MnetworkStopGetDemand | ( | MNETWORKSTOPHANDLE | stopHandle, | |
| int | position, | |||
| DOUBLE * | demand | |||
| ) |
Get demand of stop at specified position.
| stopHandle | Handle returned by MnetworkMainCreateStop function | |
| position | Position of stop | |
| demand | Demand value |
| int MnetworkStopGetNumber | ( | MNETWORKSTOPHANDLE | stopHandle | ) |
Get number of stops.
| stopHandle | Handle returned by MnetworkMainCreateStop function |
| int MnetworkStopGetTableNames | ( | MNETWORKSTOPHANDLE | stopHandle, | |
| RVC::OBJECTNAME ** | tablename, | |||
| INT32 * | tablecount | |||
| ) |
Get array of database table names that contains saved stop array information.
| stopHandle | Handle returned by MnetworkMainCreateStop function | |
| tablename | "Stop" tables names array allocated and returned | |
| tablecount | Number of names in array |
| int MnetworkStopIsTable | ( | MNETWORKSTOPHANDLE | stopHandle, | |
| const RVC::OBJECTNAME & | tablename | |||
| ) |
Is there "stop" table name.
| stopHandle | Handle returned by MnetworkMainCreateStop function | |
| tablename | Table name |
| int MnetworkStopIsUpdated | ( | MNETWORKSTOPHANDLE | stopHandle | ) |
Is stop array updated.
| stopHandle | Handle returned by MnetworkMainCreateStop function |
| int MnetworkStopMove | ( | MNETWORKSTOPHANDLE | stopHandle, | |
| int | oldPosition, | |||
| int | newPosition | |||
| ) |
Move stop to specified position.
| stopHandle | Handle returned by MnetworkMainCreateStop function | |
| oldPosition | Old position | |
| newPosition | New position |
| int MnetworkStopOpenTable | ( | MNETWORKSTOPHANDLE | stopHandle, | |
| const RVC::OBJECTNAME & | tablename | |||
| ) |
Open "stop" table.
| stopHandle | Handle returned by MnetworkMainCreateStop function | |
| tablename | Table name to open |
| int MnetworkStopSaveTable | ( | MNETWORKSTOPHANDLE | stopHandle, | |
| RVC::OBJECTNAME & | tablename | |||
| ) |
Save "stop" table.
| stopHandle | Handle returned by MnetworkMainCreateStop function | |
| tablename | Table name to save |
| int MnetworkStopSetDemand | ( | MNETWORKSTOPHANDLE | stopHandle, | |
| int | position, | |||
| DOUBLE | demand | |||
| ) |
Set demand of stop at specified position.
| stopHandle | Handle returned by MnetworkMainCreateStop function | |
| position | Position of stop | |
| demand | Demand value |
| int MnetworkTurnGetAngle | ( | MNETWORKHANDLE | handle, | |
| INT32 | node, | |||
| int | in, | |||
| int | out, | |||
| DOUBLE * | angle | |||
| ) |
Angle impedance of specified turn.
| handle | Handle returned by MnetworkMainInit function | |
| node | Node value | |
| in | Position of incoming line of specified node | |
| out | Position of outgoing line of specified node | |
| angle | Turn angle returned |
| int MnetworkTurnGetImpedance | ( | MNETWORKHANDLE | handle, | |
| INT32 | node, | |||
| int | in, | |||
| int | out, | |||
| DOUBLE * | impedance | |||
| ) |
Get impedance of specified turn.
| handle | Handle returned by MnetworkMainInit function | |
| node | Node value | |
| in | Position of incoming line of specified node | |
| out | Position of outgoing line of specified node | |
| impedance | Angle impedance of specified turn |
| int MnetworkTurnIsUpdated | ( | MNETWORKHANDLE | handle | ) |
Is turn attributes updated.
| handle | Handle returned by MnetworkMainInit function |
| int MnetworkTurnSetImpedance | ( | MNETWORKHANDLE | handle, | |
| INT32 | node, | |||
| int | in, | |||
| int | out, | |||
| DOUBLE | impedance | |||
| ) |
Set impedance of specified turn.
| handle | Handle returned by MnetworkMainInit function | |
| node | Node value | |
| in | Position of incoming line of specified node | |
| out | Position of outgoing line of specified node | |
| impedance | Angle impedance of specified turn |
1.6.1