get_3d_cross_prod: Compute the cross product of two 3D vectors

Description Usage Arguments Value Author(s) See Also Examples

View source: R/analytical_functions.R

Description

Compute the cross product of two 3D vectors

Usage

1

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_velocity(), rad_2_deg()

Examples

1
2
3
v1 <- c(1, 1, 3)
v2 <- c(3, 1, 3)
get_3d_cross_prod(v1, v2)

pathviewr documentation built on May 6, 2021, 9:07 a.m.