getVectorAngle: Gets an angle

View source: R/bezier_private_functions.R

getVectorAngleR Documentation

Gets an angle

Description

Uses a vector to get an angle by atan2.

Usage

getVectorAngle(x, y, x_origo = NA, y_origo = NA)

Arguments

x

The x point of the vector

y

The y point of the vector

x_origo

The x origin if other than 0

y_origo

The y origin if other than 0

Value

angle in radians (see atan2)


Gmisc documentation built on Aug. 26, 2023, 1:07 a.m.