($x,$y,$z) = $v->value;

as in the example above, or you can get individual coordinates (by number) as

$x = $v->extract(1); $y = $v->extract(2); $z = $v->extract(3);Davide

This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day

To get the coordinates of a vector, you can do either

($x,$y,$z) = $v->value;

as in the example above, or you can get individual coordinates (by number) as

$x = $v->extract(1); $y = $v->extract(2); $z = $v->extract(3);Davide

You are currently using guest access (Log in)