Share

UV.DistanceTo Method

Returns the distance from this 2-D point to the specified 2-D point.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public double DistanceTo(
	UV source
)

Parameters

source  UV
The specified point.

Return Value

Double
The real number equal to the distance between the two points.

Exceptions

ExceptionCondition
ArgumentNullException Thrown when source is nullptr.

Remarks

The distance between the two points is equal to the length of the vector that joins the two points.

See Also

Reference

Was this information helpful?