UV.DistanceTo
Method
Description:
Returns the distance from this 2-D point to the specified 2-D point.
Returns the distance from this 2-D point to the specified 2-D point.
Remarks:
The distance between the two points is equal to the length of the vector that joins the two points.
The distance between the two points is equal to the length of the vector that joins the two points.
Parameters
| Parameter | Type | Description |
|---|---|---|
| source | UV | The specified point. |
Return Value
| Type | Description |
|---|---|
| Double | The real number equal to the distance between the two points. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when source is. |