% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hexify_cell_to_sf.R
\name{hex_corners_to_sf}
\alias{hex_corners_to_sf}
\title{Build an sf POLYGON from six (lon, lat) corner pairs}
\usage{
hex_corners_to_sf(lon, lat, crs = 4326)
}
\arguments{
\item{lon}{numeric vector of length 6 (longitude)}

\item{lat}{numeric vector of length 6 (latitude)}

\item{crs}{integer CRS (default 4326)}
}
\value{
sf object with one POLYGON geometry
}
\description{
Low-level helper to create a single hexagon polygon from corner coordinates.
Most users should use \code{\link{cell_to_sf}} instead.
}
\seealso{
Other sf conversion:
\code{\link[=hexify_cell_to_sf]{hexify_cell_to_sf()}},
\code{\link[=hexify_grid_global]{hexify_grid_global()}},
\code{\link[=hexify_grid_rect]{hexify_grid_rect()}}
}
\concept{sf conversion}
\keyword{internal}
