User Tools

Site Tools


xrpl:distance

This is an old revision of the document!


DISTANCE

ArgumentsResultNotation
Coordinates1, Coordinates2 Distance between Coordinates [ x1, y1, x2, y2 - f1 ]

Description

Returns the distance between two given pairs of coordinates. (Or two sets of number pairs on the coordinate plane)

Examples

CurrentCoords 0 0 Distance ->Distance //Find the distance between itself and 0,0
<-Distance Trace

Self GetUnitPixelCoords <-SomeUnit GetUnitPixelCoords Distance Trace #This kind of think is useful for image scaling.
xrpl/distance.1551649322.txt.gz ยท Last modified: 2025/02/14 14:56 (external edit)