Skip to content

Commit 53c7616

Browse files
committed
closes #1803, #1802
1 parent e12af9b commit 53c7616

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

R/geom-transformers.R

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
#' @param dist numeric; buffer distance for all, or for each of the elements in \code{x}; in case
1010
#' \code{dist} is a \code{units} object, it should be convertible to \code{arc_degree} if
1111
#' \code{x} has geographic coordinates, and to \code{st_crs(x)$units} otherwise
12-
#' @param nQuadSegs integer; number of segments per quadrant (fourth of a circle), for all or per-feature
13-
#' @param endCapStyle character; style of line ends, one of 'ROUND', 'FLAT', 'SQUARE'
14-
#' @param joinStyle character; style of line joins, one of 'ROUND', 'MITRE', 'BEVEL'
15-
#' @param mitreLimit numeric; limit of extension for a join if \code{joinStyle} 'MITRE' is used (default 1.0, minimum 0.0)
12+
#' @param nQuadSegs integer; number of segments per quadrant (fourth of a circle), for all or per-feature; see details
13+
#' @param endCapStyle character; style of line ends, one of 'ROUND', 'FLAT', 'SQUARE'; see details
14+
#' @param joinStyle character; style of line joins, one of 'ROUND', 'MITRE', 'BEVEL'; see details
15+
#' @param mitreLimit numeric; limit of extension for a join if \code{joinStyle} 'MITRE' is used (default 1.0, minimum 0.0); see details
1616
#' @param singleSide logical; if \code{TRUE}, single-sided buffers are returned for linear geometries,
17-
#' in which case negative \code{dist} values give buffers on the right-hand side, positive on the left.
17+
#' in which case negative \code{dist} values give buffers on the right-hand side, positive on the left; see details
1818
#' @param ... passed on to \code{s2_buffer_cells}
1919
#' @return an object of the same class of \code{x}, with manipulated geometry.
2020
#' @export
@@ -23,6 +23,10 @@
2323
#' the underlying 'buffer with style' GEOS function is used.
2424
#' If a negative buffer returns empty polygons instead of shrinking, set st_use_s2() to FALSE
2525
#' See \href{https://postgis.net/docs/ST_Buffer.html}{postgis.net/docs/ST_Buffer.html} for details.
26+
#'
27+
#' \code{nQuadSegs}, \code{endCapsStyle}, \code{joinStyle}, \code{mitreLimit} and \code{singleSide} only
28+
#' work when the GEOS back-end is used: for projected coordinates or when \code{sf_use_s2()} is set
29+
#' to \code{FALSE}.
2630
#' @examples
2731
#'
2832
#' ## st_buffer, style options (taken from rgeos gBuffer)

man/geos_unary.Rd

Lines changed: 9 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)