anglesArc {alphahull} | R Documentation |
Given a vector v and an angle θ, anglesArc
returns the angles that A_θ v and A_{-θ} v form with the axis OX, where A_θ v represents the clockwise rotation of angle θ of the vector v.
anglesArc(v, theta)
v |
Vector v in the plane. |
theta |
Angle θ (in radians). |
The angle that forms the vector v with the axis OX takes its value in [0,2π).
angs |
Numeric vector with two components. |
## Not run: # Let v=c(0,1) and theta=pi/4 # Consider the arc such that v is the internal angle bisector that # divides the angle 2*theta into two equal angles # The angles that the arc forms with the OX axis are pi/4 and 3*pi/4 v <- c(0,1) theta <- pi/4 anglesArc(v,theta) ## End(Not run)