...
Returns a floating point value which is the length of the input vector v
Scroll pagebreak |
---|
Examples
Code Block | ||
---|---|---|
| ||
// In this procedure, a vector variable is declared and getLength is |
...
// used to return its length. |
...
// The command returns a float value of: 5 (3-4-5 right triangle) |
...
vector $v1 = <<3, 4, 0>>; |
...
float $length = getLength($v1); |
...
print( $length ); |
Additional information
Related commands
...