lineSegment-class: Class '"lineSegment"': sample line segments

Description Objects from the Class Slots Extends Methods Author(s) See Also Examples

Description

A subclass of "ArealSampling" that can be used to create line segment objects for use in methods where sampling is conducted along a line.

Objects from the Class

Objects can be created by calls of the form new("lineSegment", ...); however, this is not recommended due to the necessity to have the spatial representation correct. Preferably, one should use the lineSegment constructor for this class.

Slots

orientation:

Object of class "numeric": The orientation of the line segment clockwise from north as an azimuth in radians. Please note that this is different from the logAngle slot in "downLog" objects, which is defined counter-clockwise from due east, rather then north. Note that the constructor expects the orientation to be in degrees, not radians.

length:

Object of class "numeric": The length of the line segment in the correct units.

segment:

Object of class "SpatialLines": The graphical object corresponding to the line segment itself.

location:

Object of class "SpatialPoints": This is a "SpatialPoints" representation of the location of the object. In the “lineSegment” class, this is the center of the line segment, which will often correspond to the location slot in the “Stem” object under sampling surface simulations.

spID:

Object of class "character": A unique identifier that is used in the “SpatialPolygons” representation of the object.

spUnits:

Object of class "CRS": A valid string of class “CRS” denoting the spatial units coordinate system (?CRS for more information) as in package sp.

Extends

Class "ArealSampling", directly.

Methods

bbox

signature(obj = "lineSegment"): Return the bounding box.

plot

signature(x = "lineSegment", y = "missing"): Graphical display of the object.

summary

signature(object = "lineSegment"): A summary of the object.

Author(s)

Jeffrey H. Gove

See Also

The "ArealSampling" and "horizontalLineIZ" classes.

Examples

1
showClass("lineSegment")

sampSurf documentation built on March 5, 2021, 5:06 p.m.