This is the angle (in radians) between the element and the vertical.

angle(m, stagnant = FALSE, skipWire = FALSE)

Arguments

m

a mooring object, created by mooring().

stagnant

logical value indicating whether to return values for the mooring configuration in the stagnant case (with zero velocity) or the present case (possibly with nonzero velocity).

skipWire

logical value indicating whether to skip wire elements, i.e. to return values just for floats, instruments, etc.

Value

a numeric vector of the angle in radians.

Author

Dan Kelley

Examples

library(mooring)
m <- mooring(anchor(), wire(length = 100), float("HMB 20"), waterDepth = 120) |> knockdown(u = 1)
angle(m)
#> [1] 0.1973024 1.0242282 1.0242282