VectorToLocal 2D/3D• VectorToLocal[bnum, vector] returns the local direction vector of vector, in the coordinate system of body bnum. • When called with a vector specified in global coordinates, VectorToLocal is essentially the inverse function of Direction. • See also: PointToLocal. Further Examples Load the Modeler2D package. Here is the local direction vector of a vector given in global coordinates. It is then converted back to global coordinates and reduced to its original form.
Out[2]= | |
Out[3]= | |
|