Skip to contents

Vector3 Barycenter

Usage

vector3_barycenter(p, a, b, c)

Arguments

p

A numeric vector of length 3.

a

A numeric vector of length 3.

b

A numeric vector of length 3.

c

A numeric vector of length 3.

Value

A numeric vector of length 3

Examples

vector3_barycenter(c(0, 0, 0), c(0, 0, 0), c(0, 0, 0), c(0, 0, 0))
#>   x   y   z 
#> NaN NaN NaN