| get_3d_cross_prod {pathviewr} | R Documentation | 
Compute the cross product of two 3D vectors
Description
Compute the cross product of two 3D vectors
Usage
get_3d_cross_prod(v1, v2)
Arguments
v1 | 
 First vector, as c(x,y,z)  | 
v2 | 
 Second vector, as c(x,y,z)  | 
Value
A vector of length 3 that describes the cross-product
Author(s)
Vikram B. Baliga
See Also
Other mathematical functions: 
calc_min_dist_v(),
deg_2_rad(),
find_curve_elbow(),
get_2d_angle(),
get_3d_angle(),
get_dist_point_line(),
get_traj_velocities(),
get_velocity(),
rad_2_deg()
Examples
v1 <- c(1, 1, 3)
v2 <- c(3, 1, 3)
get_3d_cross_prod(v1, v2)
[Package pathviewr version 1.1.7 Index]