| 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.
| 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, |