R/anglePoint.R

Defines functions anglePoint

Documented in anglePoint

anglePoint <-
function(A, angl, len)
{ # internally used by smoothArc();
  c(   A[1]-sin(angl)*len,
       A[2]-cos(angl)*len);
}

Try the dagR package in your browser

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

dagR documentation built on Oct. 9, 2022, 5:06 p.m.