distanceTo Method

Measures the distance between two coordinates.

distanceTo(coord);

 

Parameter

Description

coord

Can be SGCoord2D, SGCoord3D or SGPosition

Return Value

The distance between two coordinates.