% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wave_exposure.R
\name{estimate_fetch}
\alias{estimate_fetch}
\title{Estimate effective fetch from a set of lat/lon points and a bearing}
\usage{
estimate_fetch(
  lat,
  lon,
  bearing_deg,
  land_polygons = NULL,
  max_fetch_km = 200,
  step_km = 1
)
}
\arguments{
\item{lat}{Numeric. Site latitude (decimal degrees).}

\item{lon}{Numeric. Site longitude (decimal degrees).}

\item{bearing_deg}{Numeric. Prevailing wind direction to check (0 = North).}

\item{land_polygons}{SpatialPolygons or sf POLYGON object representing
land. If NULL, returns max_fetch_km (fully open ocean assumed).}

\item{max_fetch_km}{Numeric. Maximum fetch to search (default 200 km).}

\item{step_km}{Numeric. Ray step size (default 1 km).}
}
\value{
Numeric. Estimated fetch in km.
}
\description{
Simple great-circle ray-tracing to estimate how far open water extends
from a point in a given direction, up to \code{max_fetch_km}. This is a
lightweight GIS-free approximation -- for precise fetch, use QGIS or
the \code{fetchR} R package.
}
