R/Left.R

Defines functions left

left <- function(angle, angle0){
  if (angle<0){
    angle=360-(-angle)
  }
  angle=angle0+angle
  angle=(angle)%%360
  return(angle)
}

Try the LearnGeom package in your browser

Any scripts or data that you put into this service are public.

LearnGeom documentation built on July 14, 2020, 5:06 p.m.