Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Line-class

Class "Line"


Description

class for line objects

Objects from the Class

Objects can be created by calls of the form new("Line", ...), or (preferred) by calls to the function Line

Slots

coords:

Object of class "matrix", containing the line coordinates

Methods

coordinates

signature(obj = "Line"): retrieve coordinates from line

lines

signature(x = "Line"): add lines to a plot

Author(s)

Roger Bivand, Edzer Pebesma

See Also


sp

Classes and Methods for Spatial Data

v1.4-5
GPL (>= 2)
Authors
Edzer Pebesma [aut, cre], Roger Bivand [aut], Barry Rowlingson [ctb], Virgilio Gomez-Rubio [ctb], Robert Hijmans [ctb], Michael Sumner [ctb], Don MacQueen [ctb], Jim Lemon [ctb], Finn Lindgren [ctb], Josh O'Brien [ctb], Joseph O'Rourke [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.