lineSegment: Generate Objects of Class "'lineSegment'"

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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.

Usage

1
lineSegment(length, orientation, ...)

Arguments

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 lineSegment-methods

Details

Only one method currently exists for object generation. Its arguments are documented in lineSegment-methods.

Value

A valid object of class "lineSegment"

Author(s)

Jeffrey H. Gove

See Also

lineSegment-methods

Examples

1
2
3
4
# 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)

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