 Home
 CRAN
 sampSurf: Sampling Surface Simulation for Areal Sampling Methods
 lineSegmentclass: Class '"lineSegment"': sample line segments
Class "lineSegment": sample line segments
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 thelogAngle
slot in "downLog
" objects, which is defined counterclockwise 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 thelocation
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")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
 angleGauge: Generate Objects of Class "'angleGauge'"
 angleGaugeclass: Class '"angleGauge"': For Angle Gauge Sampling Methods
 angleGaugemethods: Methods '"angleGauge"' Object Construction in Package...
 antitheticContainer: Generate Objects of Class "'antitheticContainer'"
 antitheticContainerclass: Class '"antitheticContainer"'
 antitheticContainermethods: Methods for "'antitheticContainer'" object creation in...
 antitheticICHSIZ: Generate Objects of Class "'antitheticICHSIZ'"
 antitheticICHSIZclass: Class '"antitheticICHSIZ"'
 antitheticICHSIZmethods: Methods for "'antitheticICHSIZ'" object construction in...
 antitheticSampling: Generate Objects of Class "'antitheticSampling'"
 antitheticSamplingclass: Class '"antitheticSampling"'
 antitheticSamplingmethods: Methods for 'antitheticSampling' object construction in...
 area: Area of objects in package 'sampSurf'
 ArealSamplingclass: Class "ArealSampling"
 areamethods: Methods for Function 'area' in Package 'sampSurf'
 bboxCheck: Function to Check Spatial Bounding Boxes
 bboxSum: Function to Compute an Overall Bounding Box (bbox)
 bboxToPoly: Function to Convert a Valid "bbox" to a "SpatialPolygons"...
 boltDimensions: Calculate Bolt Dimensions for "downLog" Objects
 bufferedTract: Generate Objects of Class "'bufferedTract'"
 bufferedTractclass: Class "bufferedTract"
 bufferedTractmethods: Methods for "bufferedTract" Object Construction in package...
 chainSawIZ: Generate Objects of Class "'chainSawIZ'"
 chainSawIZclass: Class "chainSawIZ"
 chainSawIZmethods: Method for "chainSawIZ" object construction in Package...
 checkStemDimensions: Check for consistency in attribute slots within "Stem"...
 circularPlot: Generate Objects of Class "'circularPlot'"
 circularPlotclass: Class "circularPlot": Fixedarea Circular Plots
 circularPlotIZ: Generate Objects of Class "'circularPlotIZ'"
 circularPlotIZclass: Class '"circularPlotIZ"'
 circularPlotIZmethods: Method for "circularPlotIZ" object construction in Package...
 circularPlotmethods: Methods for "circularPlot" Object Construction in package...
 clipStemsToTract: Clip stems to lie within tract
 clipStemsToTractmethods: Methods for Generic Function 'clipStemsToTract' in Package...
 controlVariate: Generate Objects of Class "'controlVariate'"
 controlVariateclass: Class '"controlVariate"'
 controlVariatemethods: Methods for 'controlVariate' object construction in Package...
 criticalHeightIZ: Generate Objects of Class "'criticalHeightIZ'"
 criticalHeightIZclass: Class '"criticalHeightIZ"'
 criticalHeightIZmethods: Methods for "'criticalHeightIZ'" object constuction in...
 crudeMonteCarlo: Generate Objects of Class "'crudeMonteCarlo'"
 crudeMonteCarloclass: Class '"crudeMonteCarlo"'
 crudeMonteCarlomethods: Methods for 'crudeMonteCarlo' object construction in Package...
 csFullInclusionZoneGridclass: Class "csFullInclusionZoneGrid"
 distanceLimited: Generate Objects of Class "'distanceLimited'"
 distanceLimitedclass: Class '"distanceLimited"': Distance Limited Sampling
 distanceLimitedIZ: Generate Objects of Class "'distanceLimitedIZ'"
 distanceLimitedIZclass: Class '"distanceLimitedIZ"'
 distanceLimitedIZmethods: Methods for "'distanceLimitedIZ'" Object Construction in...
 distanceLimitedMCIZ: Generate Objects of Class "'distanceLimitedMCIZ'"
 distanceLimitedMCIZclass: Class '"distanceLimitedMCIZ"'
 distanceLimitedMCIZmethods: Methods for "'distanceLimitedMCIZ'" Object Construction in...
 distanceLimitedmethods: Methods for "distanceLimited" Object Construction in Package...
 distanceLimitedPDSIZ: Generate Objects of Class "'distanceLimitedPDSIZ'"
 distanceLimitedPDSIZclass: Class '"distanceLimitedPDSIZ"'
 distanceLimitedPDSIZmethods: Methods for "'distanceLimitedPDSIZ'" Object Construction in...
 dlsNumericclass: Class Unions in 'sampSurf'
 downLog: Generate Objects of Class "'downLog'"
 downLogclass: Class "downLog": Representation of Downed Logs
 downLogIZclass: Class "downLogIZ"
 downLogIZs: Generate Objects of Class "'downLogIZs'"
 downLogIZsclass: Class "downLogIZs"
 downLogIZsmethods: Method for "downLogIZs" object construction in Package...
 downLogmethods: Methods for "downLog" Object Construction in package...
 downLogs: Generate Objects of Class "'downLogs'"
 downLogsclass: Class "downLogs"
 downLogsmethods: Methods for "downLogs" Object Construction
 fullChainSawIZ: Generate Objects of Class "'fullChainSawIZ'"
 fullChainSawIZclass: Class '"fullChainSawIZ"'
 fullChainSawIZmethods: Methods for "'fullChainSawIZ'" object construction in Package...
 getID: Retrieve Object IDs
 getIDmethods: Methods for Function 'getID' in Package 'sampSurf'
 getProxy: Proxy functions for Monte Carlo sampling methods in...
 gridCellEnhance: Add Grid Lines and Centers in Package "sampSurf"
 heapIZ: 'Heap' Up a Sampling Surface
 heapIZmethods: Methods for Function heapIZ in Package 'sampSurf'
 hist: Histogram of Various Object Attributes in Package 'sampSurf'
 histmethods: Methods for 'graphics' Function 'hist' in Package 'sampSurf'
 horizontalLineIZ: Generate Objects of Class "'horizontalLineIZ'"
 horizontalLineIZclass: Class '"horizontalLineIZ"'
 horizontalLineIZmethods: Methods for "'horizontalLineIZ'" object constuction in...
 horizontalPointCMCIZ: Generate Objects of Class "'horizontalPointCMCIZ'"
 horizontalPointCMCIZclass: Class '"horizontalPointCMCIZ"'
 horizontalPointCMCIZmethods: Methods for "'horizontalPointCMCIZ'" object construction in...
 horizontalPointCVIZ: Generate Objects of Class "'horizontalPointCVIZ'"
 horizontalPointCVIZclass: Class '"horizontalPointCVIZ"'
 horizontalPointCVIZmethods: Methods for "'horizontalPointCVIZ'" object construction in...
 horizontalPointISIZ: Generate Objects of Class "'horizontalPointISIZ'"
 horizontalPointISIZclass: Class '"horizontalPointISIZ"'
 horizontalPointISIZmethods: Methods for "'horizontalPointISIZ'" object construction in...
 horizontalPointIZ: Generate Objects of Class "'horizontalPointIZ'"
 horizontalPointIZclass: Class '"horizontalPointIZ"'
 horizontalPointIZmethods: Methods for '"horizontalPointIZ"' object construction in...
 hybridDLPDSIZ: Generate Objects of Class "'hybridDLPDSIZ'"
 hybridDLPDSIZclass: Class '"hybridDLPDSIZ"'
 hybridDLPDSIZmethods: Methods for Function 'hybridDLPDSIZ' in Package 'sampSurf'
 importanceCHSIZ: Generate Objects of Class "'importanceCHSIZ'"
 importanceCHSIZclass: Class '"importanceCHSIZ"'
 importanceCHSIZmethods: Methods for "'importanceCHSIZ'" object constuction in Package...
 importanceSampling: Generate Objects of Class "'importanceSampling'"
 importanceSamplingclass: Class '"importanceSampling"'
 importanceSamplingmethods: Methods for 'importanceSampling' object construction in...
 InclusionZoneclass: Class "InclusionZone"
 InclusionZoneGridclass: Class "InclusionZoneGrid"
 initRandomSeed: Initialize the Random Number Seed
 izContainer: Common Setup for Subclass Object Creation
 izContainerclass: Class '"izContainer"'
 izGrid: Generate Objects of Class "'InclusionZoneGrid'"
 izGridConstruct: Common code for constructing objects of class...
 izGridmethods: Methods for "InclusionZoneGrid" object construction in...
 izGridMirage: Generate Objects of Class "'mirageInclusionZoneGrid'"
 izGridMiragemethods: Methods for Function 'izGridMirage' in Package 'sampSurf'
 lineSegment: Generate Objects of Class "'lineSegment'"
 lineSegmentclass: Class '"lineSegment"': sample line segments
 lineSegmentmethods: Methods for "'lineSegment'" object creation in Package...
 mcsContainer: Generate Objects of Class "'mcsContainer'"
 mcsContainerclass: Class '"mcsContainer"'
 mcsContainermethods: Methods for "'mcsContainer'" object construction in Package...
 mirageInclusionZoneGridclass: Class '"mirageInclusionZoneGrid"'
 mirageTract: Generate Objects of Class "'mirageTract'"
 mirageTractclass: Class '"mirageTract"'
 mirageTractmethods: Methods for 'mirageTract' object construction in Package...
 monte: Generate Objects of Class "'monte'"
 monteBSSample: Generate Objects of Class "'monteBSSample'"
 monteBSSampleclass: Class '"monteBSSample"'
 monteBSSamplemethods: Methods for Function 'monteBSSample' in Package 'sampSurf'
 MonteCarloSamplingclass: Class '"MonteCarloSampling"'
 MonteCarloSamplingIZclass: Class '"MonteCarloSamplingIZ"'
 monteclass: Class '"monte"'
 montemethods: Methods for "'monte'" Object Construction in Package...
 monteNTSample: Generate Objects of Class "'monteNTSample'"
 monteNTSampleclass: Class '"monteNTSample"'
 monteNTSamplemethods: Methods for Function 'monteNTSample' in Package 'sampSurf'
 montePop: Generate Objects of Class "'montePop'"
 montePopclass: Class '"montePop"'
 montePopmethods: Methods for "'montePop'" Object Construction in Package...
 monteSampleclass: Class '"monteSample"'
 omnibusDLPDSIZ: Generate Objects of Class "'omnibusDLPDSIZ'"
 omnibusDLPDSIZclass: Class '"omnibusDLPDSIZ"'
 omnibusDLPDSIZmethods: Methods for "'omnibusDLPDSIZ'" Object Construction in Package...
 omnibusPDSIZ: Generate Objects of Class "'omnibusPDSIZ'"
 omnibusPDSIZclass: Class '"omnibusPDSIZ"'
 omnibusPDSIZmethods: Methods for "'omnibusPDSIZ'" Object Construction in Package...
 pairedAICHSIZ: Generate Objects of Class "'pairedAICHSIZ'"
 pairedAICHSIZclass: Class '"pairedAICHSIZ"'
 pairedAICHSIZmethods: Methods for "'pairedAICHSIZ'" object construction in Package...
 perimeter: Function to Return the Graphical Perimeter of an Object in...
 perimetermethods: Methods for Function perimeter in Package 'sampSurf'
 perpendicularDistance: Generate Objects of Class "'perpendicularDistance'"
 perpendicularDistanceclass: Class '"perpendicularDistance"': Perpendicular Distance...
 perpendicularDistanceIZ: Generate Objects of Class "'perpendicularDistanceIZ'"
 perpendicularDistanceIZclass: Class '"perpendicularDistanceIZ"'
 perpendicularDistanceIZmethods: Methods for "'perpendicularDistanceIZ'" Object Construction...
 perpendicularDistancemethods: Methods for "perpendicularDistance" Object Construction in...
 plot: Plot objects within package 'sampSurf'
 plot3D: Interactive 3D Plot of Objects From Package "sampSurf"
 plot3Dmethods: Methods for Function 'plot3D' in Package 'sampSurf'
 plotmethods: Methods for 'graphics' Function 'plot' in Package 'sampSurf'
 pointRelascope: Generate Objects of Class "'pointRelascope'"
 pointRelascopeclass: Class '"pointRelascope"': Point Relascope Sampling
 pointRelascopeIZ: Generate Objects of Class "'pointRelascopeIZ'"
 pointRelascopeIZclass: Class "pointRelascopeIZ"
 pointRelascopeIZmethods: Method for "pointRelascopeIZ" Object Construction in Package...
 pointRelascopemethods: Methods for "pointRelascope" Object Construction in Package...
 sampleLogs: Generates a Synthetic Population of Down Log Attributes
 sampleTrees: Generates a Synthetic Population of Standing Tree Attributes
 sampSurf: Generate Objects of Class "'sampSurf'"
 sampSurfclass: Class "sampSurf"
 sampSurfmethods: Methods for "sampSurf" object construction in Package...
 sampSurfpackage: Sampling Surface Simulation
 sausageIZ: Generate Objects of Class "'sausageIZ'"
 sausageIZclass: Class "sausageIZ"
 sausageIZmethods: Method for "sausageIZ" object construction in Package...
 segmentVolume: Determine segment volumes within a '"Stem"' Object
 segmentVolumemethods: Methods for Function 'segmentVolume' in Package 'sampSurf'
 spCircle: Create a Circular Spatial Object
 standingTree: Generate Objects of Class "'standingTree'"
 standingTreeclass: Class '"standingTree"': Representation of Standing Trees
 standingTreeIZclass: Class '"standingTreeIZ"'
 standingTreeIZs: Generate Objects of Class "'standingTreeIZs'"
 standingTreeIZsclass: Class '"standingTreeIZs"'
 standingTreeIZsmethods: Method for "standingTreeIZs" object construction in Package...
 standingTreemethods: Methods for 'standingTree' Object Construction in Package...
 standingTrees: Generate Objects of Class "'standingTrees'"
 standingTreesclass: Class '"standingTrees"'
 standingTreesmethods: Methods for 'standingTrees' Object Construction
 standUpIZ: Generate Objects of Class "'standUpIZ'"
 standUpIZclass: Class "standUpIZ"
 standUpIZmethods: Method for "standUpIZ" object construction in Package...
 Stemclass: Class "Stem" for building tree and log like subclasses
 StemContainerclass: Class '"StemContainer"' for collections of tree and log...
 StemEnv: 'Hidden' Environment for Constants, etc.
 taperInterpolate: Interpolate Diameters or Lengths in a '"Stem"' Object
 taperInterpolatemethods: Methods for Function 'taperInterpolate' in Package 'sampSurf'
 Tract: Generate Objects of Class "'Tract'"
 Tractclass: Class "Tract"
 Tractmethods: Methods for "Tract" Object Construction in package 'sampSurf'
 transparentColorBase: Set Transparancey in Base Graphics