getBresenham2DSegment: get a segment of points thanks to Bresenham line algorithm

Description Usage Arguments Value Author(s)

View source: R/AFMNetworksAnalyser.R

Description

getBresenham2DSegment return the Bresenham segment in 2D from extremities coordinates

Usage

1
getBresenham2DSegment(x1, y1, x2, y2)

Arguments

x1

abscissa coordinates of the first point

y1

ordinate coordinates of the first point

x2

abscissa coordinates of the second point

y2

ordinate coordinates of the second point

Value

a data.table of points - data.table(x, y)

Author(s)

M.Beauvais


AFM documentation built on Oct. 23, 2020, 5:23 p.m.