Changeset 1179 for trunk/src/angle2normal.m
- Timestamp:
- Mar 23, 2025, 11:13:38 AM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/angle2normal.m
r1108 r1179 1 %calculate the components of the unit vector norm_plane normal to the plane 2 %defined by the rotation vector PlaneAngle (in degree) 1 %angle2normal: calculate the components of the unit vector defined by a rotation vector 3 2 % this gives the equation of the plane as norm_plane(1)x + norm_plane(2)y +norm_plane(3)z = cte 3 4 % OUTPUT: 5 %norm_plane: three components of the normal unit vector 6 % INPUT: 7 %PlaneAngle: rotation vector, with three components in degree) 4 8 5 9 function norm_plane=rotate(PlaneAngle)
Note: See TracChangeset
for help on using the changeset viewer.