Search
RoutingOptions.NodeVicinityCost Property
See Also
 



Gets or sets a value added to the total cost of a route if the route passes too close to a node.

 Syntax

VB6  Copy Code

Public Property Get NodeVicinityCost() As Byte
Public Property Let NodeVicinityCost( _
    ByVal value As Byte _
)

C++  Copy Code

public:
unsigned char get_NodeVicinityCost ()
void put_NodeVicinityCost (
    unsigned char value
)

 Property Value

A byte value. The default is 2.

 Remarks

This is a penalty value added to the total cost of an evaluated arrow route if it passes too close to a node. The routing algorithm aims to find paths that have a minimal cost, so assigning a greater value to NodeVicinityCost makes arrows avoid passing close to nodes. The size of the buffer area around nodes in which passing arrows get a penalty cost is set via NodeVicinitySize.

 See Also