R/maketri.R
maketri.Rd
produce a list of x and y coordinates of "discrete lines" with specified numbers of points, forming a triangle with vertices given by input coordinates
maketri(x1 = 4, y1 = 4, x2 = 10, y2 = 10, x3 = 6, y3 = 14, npts = 20)
numeric(1)
numeric(1)
numeric(1)
numeric(1)
numeric(1)
numeric(1)
numeric(1) tells number of points to fill for each side
str(maketri())
#> List of 2
#> $ x: num [1:60] 4 4.32 4.63 4.95 5.26 ...
#> $ y: num [1:60] 4 4.32 4.63 4.95 5.26 ...