Realbasic.Point.Distance

From Real Software Documentation

Jump to: navigation, search
Method
Realbasic.Point.Distance ( Other As Realbasic.Point ) As Double

Calculates the distance between the point and the passed point.


Example

Dim thePoint As Realbasic.Point = DraggingRect.Origin
Dim d As Double = thePoint.Distance(RectTwo.Origin)
Personal tools