vector_end: Compute end point of given point in 3d with direction and...

Description Usage Arguments Value Author(s) Examples

View source: R/vector_end.R

Description

Compute end point of given point in 3d with direction and length

Usage

1
vector_end(p_start = c(0, 0, 0), orient = c(1, 1, 1), length = 1)

Arguments

p_start

A vector with the start point of the vector, e.g. a cylinder, in 3D (x,y,z)

orient

Directional vector of the vector, e.g. a cylinder, axis (x1,y1,z1)

length

Length of the vector, e.g. cylinder length (in meter)

Value

The end point (p_end) of the vector in 3D (x,y,z)

Author(s)

Matthias Kunz, last updated: 29.04.2019

Examples

1
vector_end(p_start = c(0,0,0), orient = c(1,1,1), length = 1)

spatial-mk/tre3d documentation built on April 1, 2020, 5:26 p.m.