## Distance

**Syntax**

double Distance(double v1, double v2)

**Summary**

Computes the distance between two values. Minimizes

the chance of overflow by not taking the square of any
number.

**Parameters**

v1 |
The first value. |

v2 |
The second value. |

**Returns**

The distance between the first and second value.

Visual Basic Net 2005 Example
Implementation Code

Visual C# 2005 Example Implementation
Code

Back to
SpatialReference