Gets or sets a value added to the total cost of a route if it makes a turn.
SyntaxVB6
Copy Code
|
|---|
Public Property Get TurnCost() As Byte |
C++
Copy Code
|
|---|
public: |
A byte value. The default is 4.
RemarksThis is a penalty value added to the total cost of an evaluated arrow route for each turn it makes. The routing algorithm aims to find paths that have a minimal cost, so assigning a greater value to TurnCost leads paths that make less turns (hence they have less segments).
See Also