Legend
| Property: int Distance
Declarationint Distance SummaryCalculates the number of steps required to move from the center hex (0, 0) to the current hex.RemarksNote that this is not Euclidean distance. This returns the smallest number of hex tiles that must be traversed to go from (0, 0) to the current hex.
To calculate the distance between two hex tiles To calculate actual Euclidean distance, use Hex.Center and PointD.Distance. |