Function to calculate fetch along an input bearing

Description

The function calculates the maximum in lake distance of a line along an input bearing.

Usage

1
lakeFetch(inLakeMorpho, bearing, addLine = T)

Arguments

inLakeMorpho

An object of lakeMorphoClass. Output of the lakeSurroundTopo function would be appropriate as input

bearing

Numeric that indicates the bearing of the desired fetch

addLine

Boolean to determine if the selected max length line should be added to the inLakeMorpho object. Defaults to True. Note that the line is returned in the same projection as the input data.

Value

Returns a numeric value indicating the length of the longest line in the lake along the input bearing. Units are the same as the input data.

References

Florida LAKEWATCH (2001). A Beginner's guide to water management - Lake Morphometry (2nd ed.). Gainesville: Florida LAKEWATCH, Department of Fisheries and Aquatic Sciences. Link

Examples

1
2
data(lakes)
lakeFetch(inputLM,45)