lineSegment {sampSurf} | R Documentation |
lineSegment
"
This generic function has only one method
(lineSegment-methods
) used as a constructor function for
objects that are of class "lineSegment
". This
method should be used in preference to new
to insure a
valid object.
lineSegment(length, orientation, ...)
length |
The length of the line segment in the appropriate units (feet for "English" or meters for "metric"). |
orientation |
The line orientation clockwise from north as an azimuth in degrees. |
... |
Arguments that are defined in |
Only one method currently exists for object generation. Its arguments
are documented in lineSegment-methods
.
A valid object of class "lineSegment
"
Jeffrey H. Gove
# a one chain segment... ls = lineSegment(length=66, orientation=45, centerPoint=c(x=100, y=80), units='English') summary(ls) plot(ls, showLineCenter=TRUE, cex=2)