VS:Distance3D/ja

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

2点の三次元的距離を返します。Normと同じ。

FUNCTION Distance3D(
x1 :REAL;
y1 :REAL;
z1 :REAL;
x2 :REAL;
y2 :REAL;
z2 :REAL) : REAL;
def vs.Distance3D(x1, y1, z1, x2, y2, z2):
    return REAL

Parameters

x1 REAL
y1 REAL
z1 REAL
x2 REAL
y2 REAL
z2 REAL

Version

Availability: from Vectorworks 2014