Dist3d(): Difference between revisions

From TinyMUX
Jump to navigation Jump to search
New page: Category:Functions {{Function|dist3d(x1, y1, z1, x2, y2, z2)}} Returns the distance between the Cartesian points in three dimensions (x1,y1,z1) and (x2,y2,z2). == Example == ...
 
(No difference)

Latest revision as of 19:52, 25 November 2010


dist3d(x1, y1, z1, x2, y2, z2)

Returns the distance between the Cartesian points in three dimensions

 (x1,y1,z1) and (x2,y2,z2).

Example

> say dist3d(0,0,0,10,15,20)

You say, "27"

dist2d()