ContentsIndexReferenceHome
PreviousUpNext
RotateObject
MATLAB
[Obj R] = RotateObject(Obj0,upDir,VT)
Description

Rotates an object as defined in Targ.Object from TargStruct based on a desired direction of motion and zenith direction.

Parameters
Parameters 
Description 
Obj0 [struct] 
Original object structure with fields vertices and facets 
upDir [vector] 
Desired direction for "up" 
VT [vector] 
Desired direction of motion 
Return Values
Return Values 
Description 
Obj [struct] 
Object structure with any computed rotation applied 
R [matrix] 
Rotation matrix applied 
See Also
Group
Made with Doc-O-Matic.
Copyright (c) 2009. All rights reserved.
What do you think about this topic? Send feedback!