Navigation: Scripting Reference Manual > Functions & Subroutines > GetLength3D

 

GetLength3D

 

Contact Us: fredsupport@photonengr.com

 

Description

Computes the length of a 3 dimensional vector from its components.  If the length is null, this function returns

 

Syntax

GetLength3D x, y, z, length

 

Parameters

x As Double

The X component of the vector.

 

y As Double

The Y component of the vector.

 

z As Double

The Z component of the vector.

 

length As Double

Computed length of the vector.

 

Remarks

This subroutine computes the length of a vector from its three component lengths.  The length is stored in the length parameter.

 

See Also

SetLength3D

 

 

 

 

 

Copyright © Photon Engineering, LLC