Sline-class {sp} | R Documentation

## Class "Sline"

### Description

class for line objects

### Objects from the Class

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

### Slots

`coords`:
  Object of class `"matrix"`, containing the line coordinates
`bbox`:
  Object of class `"matrix"`, see Spatial-class
`proj4string`:
  Object of class `"CRS"`, see CRS-class

### Extends

Class `"Spatial"`, directly.

### Methods

coordinates
  `signature(obj = "Sline")`: retrieve coordinates from line
lines
  `signature(x = "Sline")`: add lines to a plot

### Author(s)

Roger Bivand, Edzer Pebesma

### See Also

Slines-class, SpatialLines-class

### Examples

[Package sp version 0.7-8 Index]